OSDN Git Service

* tree-data-ref.c (build_classic_dist_vector,
authordpatel <dpatel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Apr 2005 01:35:54 +0000 (01:35 +0000)
committerdpatel <dpatel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Apr 2005 01:35:54 +0000 (01:35 +0000)
commite9705e7fbd8fb3403fd54ded918bc2e649f74ddd
treef188986dd14899759aa5d472d21666c8b4c61591
parentf8b517614769ca972988344b8cd08195e0f15125
     * tree-data-ref.c (build_classic_dist_vector,
         compute_subscript_distance): Make externally visible.
         * tree-data-ref.h (build_classic_dist_vector,
         compute_subscript_distance): Same.
         * tree-vect-analyze.c (vect_analyze_data_ref_dependence):
         Check distance vector against vectorization factor.
         (vect_analyze_loop): Determine vectorizaion factor before
         analyzing data dependences.
         * tree-vectorizer.c (loops_num): Make it externally visible and
         rename ...
         * tree-vectorizer.c (vect_loops_num): ... new name.
         * tree-vectorizer.h  (vect_loops_num): New.

         * tree-vect-analyze.c (vect_analyze_operations): Check
         vectorizable codition.
         * tree-vect-transform.c (vect_is_simple_cond): New function.
         (vectorizable_condition): New function.
         (vect_transform_stmt): Handle condition_vec_info_type.
         * tree-vectorizer.h (enum stmt_vec_info_type): Add
         condition_vec_info_type.
         (vectorizable_condition): New.

         * lib/target-supports.exp (check_effective_target_vect_condition): New.
         * gcc.dg/vect/vect-ifcvt-1.c: New test.
         * gcc.dg/vect/vect-ifcvt-2.c: New test.
         * gcc.dg/vect/vect-ifcvt-3.c: New test.
         * gcc.dg/vect/vect-ifcvt-4.c: New test.
         * gcc.dg/vect/vect-ifcvt-5.c: New test.
         * gcc.dg/vect/vect-ifcvt-6.c: New test.
         * gcc.dg/vect/vect-ifcvt-7.c: New test.
         * gcc.dg/vect/vect-none.c: Now one loop is vectorized.

         * gcc.dg/vect/vect-dv-1.c: New test.
         * gcc.dg/vect/vect-dv-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97999 138bc75d-0d04-0410-961f-82ee72b054a4
20 files changed:
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/vect-dv-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/vect/vect-dv-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/vect/vect-ifcvt-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/vect/vect-ifcvt-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/vect/vect-ifcvt-3.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/vect/vect-ifcvt-4.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/vect/vect-ifcvt-5.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/vect/vect-ifcvt-6.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/vect/vect-ifcvt-7.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/vect/vect-ifcvt-9.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/vect/vect-none.c
gcc/testsuite/lib/target-supports.exp
gcc/tree-data-ref.c
gcc/tree-data-ref.h
gcc/tree-vect-analyze.c
gcc/tree-vect-transform.c
gcc/tree-vectorizer.c
gcc/tree-vectorizer.h