r198884 - in /branches/gomp-4_0-branch/gcc: Cha...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Tue May 14 13:30:00 GMT 2013
Author: jakub
Date: Tue May 14 13:30:24 2013
New Revision: 198884
URL: http://gcc.gnu.org/viewcvs?rev=198884&root=gcc&view=rev
Log:
* cfgloop.h (struct loop): Add safelen and force_vect fields.
* function.h (struct function): Add has_force_vect_loops field.
* omp-low.c (expand_omp_simd): If !broken_loop, create loop for
the simd region and set safelen and force_vect fields in it.
* tree-vectorizer.c (vectorize_loops): If loop has force_vect set,
vectorize it even if flag_vectorize isn't set. Clear loop->force_vect
after vectorization.
* tree-ssa-loop.c (gate_tree_vectorize): Return true even
cfun->has_force_vect_loops.
* tree-ssa-loop-ivcanon.c (tree_unroll_loops_completely_1): Don't
unroll loops with loop->force_vect.
* tree-vect-data-refs.c (vect_analyze_data_ref_dependence): For
unknown or bad data dependency, if loop->safelen is non-zero, just
decrease *max_vf to loop->safelen if needed and return false.
* tree-if-conv.c (main_tree_if_conversion): If-convert also loops with
loop->force_vect.
(gate_tree_if_conversion): Return true even if
cfun->has_force_vect_loops.
Modified:
branches/gomp-4_0-branch/gcc/ChangeLog.gomp
branches/gomp-4_0-branch/gcc/cfgloop.h
branches/gomp-4_0-branch/gcc/function.h
branches/gomp-4_0-branch/gcc/omp-low.c
branches/gomp-4_0-branch/gcc/tree-if-conv.c
branches/gomp-4_0-branch/gcc/tree-ssa-loop-ivcanon.c
branches/gomp-4_0-branch/gcc/tree-ssa-loop.c
branches/gomp-4_0-branch/gcc/tree-vect-data-refs.c
branches/gomp-4_0-branch/gcc/tree-vectorizer.c
More information about the Gcc-cvs
mailing list