tree-vectorizer.h (struct _stmt_vec_info): Rename stride_load_p to strided_p.
authorMichael Matz <matz@gcc.gnu.org>
Thu, 21 May 2015 14:36:04 +0000 (14:36 +0000)
committerMichael Matz <matz@gcc.gnu.org>
Thu, 21 May 2015 14:36:04 +0000 (14:36 +0000)
commitf2e2a985429ab708a31abf0bd3bc3df9dbbc3033
tree0e30ba12cbe5abeb6eff428b7c9e77d9e6a0c97a
parent1e43cc9461ba4f73939c94f07d2f5b305943eb29
tree-vectorizer.h (struct _stmt_vec_info): Rename stride_load_p to strided_p.

* tree-vectorizer.h (struct _stmt_vec_info): Rename stride_load_p
to strided_p.
(STMT_VINFO_STRIDE_LOAD_P): Rename to ...
(STMT_VINFO_STRIDED_P): ... this.
* tree-vect-data-refs.c (vect_compute_data_ref_alignment): Adjust.
(vect_verify_datarefs_alignment): Likewise.
(vect_enhance_data_refs_alignment): Likewise.
(vect_analyze_data_ref_access): Likewise.
(vect_analyze_data_refs): Accept strided stores.
* tree-vect-stmts.c (vect_model_store_cost): Count strided stores.
(vect_model_load_cost): Adjust for macro rename.
(vectorizable_mask_load_store): Likewise.
(vectorizable_load): Likewise.
(vectorizable_store): Open code strided stores.

testsuite/
* gcc.dg/vect/vect-strided-store.c: New test.
* gfortran.dg/vect/fast-math-pr37021.f90: Adjust.
* gfortran.dg/vect/fast-math-rnflow-trs2a2.f90: Adjust.

From-SVN: r223486
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/vect-strided-store.c [new file with mode: 0644]
gcc/testsuite/gfortran.dg/vect/fast-math-pr37021.f90
gcc/testsuite/gfortran.dg/vect/fast-math-rnflow-trs2a2.f90
gcc/tree-vect-data-refs.c
gcc/tree-vect-stmts.c
gcc/tree-vectorizer.h