This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, This patch adds multidimensional arrays support to the vectorizer, along with relevant new test-cases. Thanks, Ira Changelog entry: 2004-08-12 Ira Rosen <irar@il.ibm.com> * tree-vectorizer.h (stmt_vec_info): Add vect_dr_base field. (STMT_VINFO_VECT_DR_BASE): Declare. (VECT_SMODULO): Declare. * tree-vectorizer.c (vect_compute_array_alignment): New function. (vect_compute_data_ref_alignment): Call vect_compute_array_alignment. (vect_analyze_data_ref_access): Check array indices. Remove one dimensional arrays restriction. (vect_analyze_data_refs): Store vect_dr_base. (vect_create_data_ref): Create multidimensional array reference. (vect_create_index_for_array_ref): Return init value. Remove check for one dimensional arrays. Change init value calculation. (new_stmt_vec_info): Initialize vect_dr_base field. (vect_update_initial_conditions_of_duplic): Remove call to instantiate_parameters. (vect_is_simple_iv_evolution): Call initial_condition_in_loop_num. * tree-chrec.h (initial_condition_in_loop_num): Declare. * tree-chrec.c (initial_condition_in_loop_num): New function. (chrec_component_in_loop_num): New function. (evolution_part_in_loop_num): Call chrec_component_in_loop_num. * tree-data-ref.c (analyze_array_indexes): Change parameter (access_fns) to be pointer to varray_type. Patch: (See attached file: diff.ira) Tests: (See attached file: mdtests.tar)
Attachment:
diff.ira
Description: Binary data
Attachment:
mdtests.tar
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |