[autovect] [patch] Bring fixes from mainline

Ira Rosen IRAR@il.ibm.com
Tue Jan 4 12:38:00 GMT 2005





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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: autovect.diff
Type: application/octet-stream
Size: 25921 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050104/1764f137/attachment.obj>


More information about the Gcc-patches mailing list