2014-02-01 Christophe Lyon <christophe.lyon@linaro.org>
commit62e75ca83001eee61ad6e5ea8387e0916cc51d94
authorclyon <clyon@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 8 Feb 2014 12:14:11 +0000 (8 12:14 +0000)
committerclyon <clyon@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 8 Feb 2014 12:14:11 +0000 (8 12:14 +0000)
tree427e48915082794bc43e086a7830ee4fcc87b522
parentf8b30f6b715a7b40dbd452dbe76c5b3c4753a47a
2014-02-01  Christophe Lyon  <christophe.lyon@linaro.org>

Backport from trunk r202875,202980.
2013-09-24  Xinliang David Li <davidxl@google.com>

* tree-vect-data-refs.c (vect_enhance_data_refs_alignment):
Check max peel iterations parameter.
* param.def: New parameter.
* doc/invoke.texi: Document New parameter.

2013-09-27  Xinliang David Li  <davidxl@google.com>

* opts.c (finish_options): Adjust parameters
according to vect cost model.
(common_handle_option): Set dynamic vect cost
model for FDO.
targhooks.c (default_add_stmt_cost): Compute stmt cost
unconditionally.
* tree-vect-loop.c (vect_estimate_min_profitable_iters):
Use helper function.
* tree-vectorizer.h (unlimited_cost_model): New function.
* tree-vect-slp.c (vect_slp_analyze_bb_1): Use helper function.
* tree-vect-data-refs.c (vect_peeling_hash_insert): Use helper
function.
(vect_enhance_data_refs_alignment): Ditto.
* flag-types.h: New enum.
* common/config/i386/i386-common.c (ix86_option_init_struct):
No need to initialize vect_cost_model flag.
* config/i386/i386.c (ix86_add_stmt_cost): Compute stmt cost
unconditionally.

2014-02-01  Christophe Lyon  <christophe.lyon@linaro.org>

Backport from trunk r203057.
2013-10-01  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

PR tree-optimization/58556
* gcc.dg/tree-ssa/gen-vect-26.c: Use dynamic vector cost model.
* gcc.dg/tree-ssa/gen-vect-28.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro@207631 138bc75d-0d04-0410-961f-82ee72b054a4
16 files changed:
gcc-4_8-branch/gcc/ChangeLog.linaro
gcc-4_8-branch/gcc/common.opt
gcc-4_8-branch/gcc/common/config/i386/i386-common.c
gcc-4_8-branch/gcc/config/i386/i386.c
gcc-4_8-branch/gcc/doc/invoke.texi
gcc-4_8-branch/gcc/flag-types.h
gcc-4_8-branch/gcc/opts.c
gcc-4_8-branch/gcc/params.def
gcc-4_8-branch/gcc/targhooks.c
gcc-4_8-branch/gcc/testsuite/ChangeLog.linaro
gcc-4_8-branch/gcc/testsuite/gcc.dg/tree-ssa/gen-vect-26.c
gcc-4_8-branch/gcc/testsuite/gcc.dg/tree-ssa/gen-vect-28.c
gcc-4_8-branch/gcc/tree-vect-data-refs.c
gcc-4_8-branch/gcc/tree-vect-loop.c
gcc-4_8-branch/gcc/tree-vect-slp.c
gcc-4_8-branch/gcc/tree-vectorizer.h