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] |
Richard Henderson pointed out a type-mixture issue in the vectorizer ( http://gcc.gnu.org/ml/gcc-patches/2004-12/msg01862.html). Discussing with Dorit, we realized that this problem can be repaired as follows. In function vect_get_base_and_offset pointer and non-pointer types are now treated separately. Also initial base is now always an address. Bootstrapped and tested on ppc-darwin. O.K. for mainline? Thanks, Ira Changelog entry: 2005-01-13 Ira Rosen <irar@il.ibm.com> * tree-vectorizer.h (struct _stmt_vec_info): Rename a field: base to base_address. * tree-vectorizer.c (new_stmt_vec_info): Rename the above field of stmt_vec_info. (vect_get_base_and_offset): Reorganize. (vect_create_addr_base_for_vector_ref): Remove treatment for different data reference types. (vect_compute_data_ref_alignment): Rename base to base_address in stmt_vec_info. Get the object in order to force its alignment. (vect_get_memtag_and_dr): Rename base to base_address in stmt_vec_info. Convert it into object for memtag analysis. Patch: (See attached file: diff.jan13)
Attachment:
diff.jan13
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |