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]

[autovect] [patch] Bring fixes from mainline





This patch brings fix for 64-bit vectorization
(http://gcc.gnu.org/ml/gcc-patches/2005-01/msg00066.html) and fix of test
for constant values
(http://gcc.gnu.org/ml/gcc-patches/2005-01/msg00173.html)  to autovect
branch.

Bootstrapped and tested on ppc-darwin.

Ira

Changelog entry:

2004-01-04  Ira Rosen  <irar@il.ibm.com>

            * tree-vectorizer.c (vect_get_ptr_offset): Return value in
bytes.
      (vect_analyze_offset_expr): Use size arithmetics.  Reorganize the
code.
      (vect_get_base_and_offset): Use size arithmetics.  Call
handled_component_p.
      (vect_create_addr_base_for_vector_ref): Add comment.
      (vect_create_data_ref_ptr): Use TYPE_SIZE_UNIT.
      (vectorizable_load): Use size arithmetics.
      (vect_gen_niters_for_prolog_loop): Test for INTEGER_CST.
      (vect_compute_data_ref_alignment): Use size arithmetics.
      (vect_analyze_data_ref_access): Use tree_int_cst_compare and
TYPE_SIZE_UNIT.
      (vect_analyze_pointer_ref_access): Use size arithmetics.
      (vect_get_memtag_and_dr): Use size arithmetics.

Patch:
(See attached file: autovect.diff)

Attachment: autovect.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]