gcc/ChangeLog
authorvictork <victork@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Aug 2007 14:20:39 +0000 (14:20 +0000)
committervictork <victork@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Aug 2007 14:20:39 +0000 (14:20 +0000)
commit45b13dc38650fb0f8deecf944c6837637927102e
tree03bccd8be0266f061712ef717618bb096e583eab
parent20f192724d96d2ca6fb12212edaf04de013b2678
gcc/ChangeLog

* tree-vectorizer.c (new_loop_vec_info): Initialize new
field.
(destroy_loop_vec_info): Add call to VEC_free.
* tree-vectorizer.h (may_alias_ddrs): Define.
(LOOP_VINFO_MAY_ALIAS_DDRS): Define.
* tree-vect-analyze.c (vect_analyze_data_ref_dependence):
Change reporting to dump.
(vect_is_duplicate_ddr): New.
(vect_mark_for_runtime_alias_test): New.
(vect_analyze_data_ref_dependences) Add call to
vect_mark_for_runtime_alias_test.
(vect_enhance_data_refs_alignment): Define local variable
vect_versioning_for_alias_required, don't perform
peeling for alignment if versioning for alias is
required.
(vect_enhance_data_refs_alignment): Use
PARAM_VECT_MAX_VERSION_FOR_ALIGNMENT_CHECKS instead of
PARAM_VECT_MAX_VERSION_CHECKS.
* tree-vect-transform.c
(vect_create_cond_for_alias_checks): New.
(vect_transform_loop): Add call to
vect_create_cond_for_alias_checks.
(vect_vfa_segment_size): New.
* params.def (PARAM_VECT_MAX_VERSION_FOR_ALIGNMENT_CHECKS):
Rename.
(PARAM_VECT_MAX_VERSION_FOR_ALIAS_CHECKS): Define.
* gcc/doc/invoke.texi
(vect-max-version-for-alignment-checks): Document.
(vect-max-version-for-alias-checks): Document.
(vect-max-version-checks): Remove.

gcc/testsuite/ChangeLog

* gcc.dg/vect/vect-vfa-01.c: New.
* gcc.dg/vect/vect-vfa-02.c: New.
* gcc.dg/vect/vect-vfa-03.c: New.
* gcc.dg/vect/vect-vfa-04.c: New.
* gcc.dg/vect/vect-102a.c, gcc.dg/vect/vect-51.c,
gcc.dg/vect/pr29145.c, gcc.dg/vect/vect-43.c,
gcc.dg/vect/vect-61.c, gcc.dg/vect/vect-53.c,
gcc.dg/vect/vect-45.c, gcc.dg/vect/vect-101.c,
gcc.dg/vect/vect-37.c, gcc.dg/vect/vect-79.c,
gcc.dg/vect/vect-102.c, gcc.dg/vect/vect-dv-2.c,
gcc.dg/vect/vect-57.c, gcc.dg/vect/vect-49.c,
gfortran.dg/vect/pr19049.f90: Rename to start with
prefix no-vfa-.
* gcc.dg/vect/vect.exp: Disable versioning for alias
when test starts with no-vfa-.
* gfortran.dg/vect/vect.exp: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127559 138bc75d-0d04-0410-961f-82ee72b054a4
29 files changed:
gcc/ChangeLog
gcc/doc/invoke.texi
gcc/params.def
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/no-vfa-pr29145.c [moved from gcc/testsuite/gcc.dg/vect/pr29145.c with 100% similarity]
gcc/testsuite/gcc.dg/vect/no-vfa-vect-101.c [moved from gcc/testsuite/gcc.dg/vect/vect-101.c with 100% similarity]
gcc/testsuite/gcc.dg/vect/no-vfa-vect-102.c [moved from gcc/testsuite/gcc.dg/vect/vect-102.c with 100% similarity]
gcc/testsuite/gcc.dg/vect/no-vfa-vect-102a.c [moved from gcc/testsuite/gcc.dg/vect/vect-102a.c with 100% similarity]
gcc/testsuite/gcc.dg/vect/no-vfa-vect-37.c [moved from gcc/testsuite/gcc.dg/vect/vect-37.c with 100% similarity]
gcc/testsuite/gcc.dg/vect/no-vfa-vect-43.c [moved from gcc/testsuite/gcc.dg/vect/vect-43.c with 100% similarity]
gcc/testsuite/gcc.dg/vect/no-vfa-vect-45.c [moved from gcc/testsuite/gcc.dg/vect/vect-45.c with 100% similarity]
gcc/testsuite/gcc.dg/vect/no-vfa-vect-49.c [moved from gcc/testsuite/gcc.dg/vect/vect-49.c with 100% similarity]
gcc/testsuite/gcc.dg/vect/no-vfa-vect-51.c [moved from gcc/testsuite/gcc.dg/vect/vect-51.c with 100% similarity]
gcc/testsuite/gcc.dg/vect/no-vfa-vect-53.c [moved from gcc/testsuite/gcc.dg/vect/vect-53.c with 100% similarity]
gcc/testsuite/gcc.dg/vect/no-vfa-vect-57.c [moved from gcc/testsuite/gcc.dg/vect/vect-57.c with 100% similarity]
gcc/testsuite/gcc.dg/vect/no-vfa-vect-61.c [moved from gcc/testsuite/gcc.dg/vect/vect-61.c with 100% similarity]
gcc/testsuite/gcc.dg/vect/no-vfa-vect-79.c [moved from gcc/testsuite/gcc.dg/vect/vect-79.c with 100% similarity]
gcc/testsuite/gcc.dg/vect/no-vfa-vect-dv-2.c [moved from gcc/testsuite/gcc.dg/vect/vect-dv-2.c with 100% similarity]
gcc/testsuite/gcc.dg/vect/vect-vfa-01.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/vect/vect-vfa-02.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/vect/vect-vfa-03.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/vect/vect-vfa-04.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/vect/vect.exp
gcc/testsuite/gfortran.dg/vect/no-vfa-pr32457.f90 [moved from gcc/testsuite/gfortran.dg/vect/pr32457.f90 with 100% similarity]
gcc/testsuite/gfortran.dg/vect/vect.exp
gcc/tree-vect-analyze.c
gcc/tree-vect-transform.c
gcc/tree-vectorizer.c
gcc/tree-vectorizer.h