r124965 - in /branches/autovect-branch/gcc: Cha...
dorit@gcc.gnu.org
dorit@gcc.gnu.org
Tue May 22 21:19:00 GMT 2007
Author: dorit
Date: Tue May 22 21:19:32 2007
New Revision: 124965
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124965
Log:
* tree-vect-transform.c (vect_create_addr_base_for_vector_ref): Takes
additional argument loop. Updated the function documentation. Handle
the 'nested_in_vect_loop' case (the case when the dataref is in an
inner-loop nested in an outer-loop that is now being vectorized).
(vect_create_data_ref_ptr): Call vect_create_addr_base_for_vector_ref
with additional argument. Handle the 'nested_in_vect_loop' case.
(vectorizable_load): Handle the 'nested_in_vect_loop' case.
(vectorizable_store): Handle the 'nested_in_vect_loop' case.
(vect_gen_niters_for_prolog_loop): Call
vect_create_addr_base_for_vector_ref with additional argument.
(vect_create_cond_for_align_checks): Likewise.
* tree-vect-analyze.c (vect_compute_data_ref_alignment): Handle the
'nested_in_vect_loop' case.
(vect_analyze_data_ref_access): Likewise.
(vect_analyze_data_refs): Likewise. Call split_constant_offset.
* tree-vectorizer.c (new_stmt_vec_info): Initialize new fields.
(vect_supportable_dr_alignment): Handle the 'nested_in_vect_loop' case.
* tree-vectorizer.h (_stmt_vec_info): Added new fields:
dr_base_address, dr_init, dr_offset, dr_step, and dr_aligned_to, along
with new access functions for these fields: STMT_VINFO_DR_BASE_ADDRESS,
STMT_VINFO_DR_INIT, STMT_VINFO_DR_OFFSET, STMT_VINFO_DR_STEP, and
STMT_VINFO_DR_ALIGNED_TO.
* tree-data-refs.c (split_constant_offset): New (brought over from
mainline).
* tree-data-refs.h (split_constant_offset): Likewise.
Added:
branches/autovect-branch/gcc/testsuite/gcc.dg/vect/vect-outer-1.c
branches/autovect-branch/gcc/testsuite/gcc.dg/vect/vect-outer-1a.c
branches/autovect-branch/gcc/testsuite/gcc.dg/vect/vect-outer-1b.c
branches/autovect-branch/gcc/testsuite/gcc.dg/vect/vect-outer-2.c
branches/autovect-branch/gcc/testsuite/gcc.dg/vect/vect-outer-2a.c
branches/autovect-branch/gcc/testsuite/gcc.dg/vect/vect-outer-2b.c
branches/autovect-branch/gcc/testsuite/gcc.dg/vect/vect-outer-2c.c
branches/autovect-branch/gcc/testsuite/gcc.dg/vect/vect-outer-3.c
branches/autovect-branch/gcc/testsuite/gcc.dg/vect/vect-outer-3a.c
branches/autovect-branch/gcc/testsuite/gcc.dg/vect/vect-outer-3b.c
branches/autovect-branch/gcc/testsuite/gcc.dg/vect/vect-outer-3c.c
branches/autovect-branch/gcc/testsuite/gcc.dg/vect/vect-outer-4.c
branches/autovect-branch/gcc/testsuite/gcc.dg/vect/vect-outer-4a.c
branches/autovect-branch/gcc/testsuite/gcc.dg/vect/vect-outer-4b.c
branches/autovect-branch/gcc/testsuite/gcc.dg/vect/vect-outer-4c.c
branches/autovect-branch/gcc/testsuite/gcc.dg/vect/vect-outer-4d.c
branches/autovect-branch/gcc/testsuite/gcc.dg/vect/vect-outer-5.c
branches/autovect-branch/gcc/testsuite/gcc.dg/vect/vect-outer-6.c
branches/autovect-branch/gcc/testsuite/gcc.dg/vect/vect-outer-fir.c
Modified:
branches/autovect-branch/gcc/ChangeLog.autovect
branches/autovect-branch/gcc/testsuite/ChangeLog.autovect
branches/autovect-branch/gcc/tree-data-ref.c
branches/autovect-branch/gcc/tree-data-ref.h
branches/autovect-branch/gcc/tree-vect-analyze.c
branches/autovect-branch/gcc/tree-vect-transform.c
branches/autovect-branch/gcc/tree-vectorizer.c
branches/autovect-branch/gcc/tree-vectorizer.h
More information about the Gcc-cvs
mailing list