This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc/gcc ChangeLog.lno tree-vectorizer.c tree-v ...
- From: dorit at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: 31 Aug 2004 14:26:42 -0000
- Subject: gcc/gcc ChangeLog.lno tree-vectorizer.c tree-v ...
CVSROOT: /cvs/gcc
Module name: gcc
Branch: lno-branch
Changes by: dorit@gcc.gnu.org 2004-08-31 14:26:42
Modified files:
gcc : ChangeLog.lno tree-vectorizer.c
tree-vectorizer.h
gcc/testsuite : ChangeLog.lno
gcc/testsuite/gcc.dg/vect: vect-33.c vect-44.c vect-48.c
Log message:
2004-08-31 Keith Besaw <kbesaw@us.ibm.com>
* tree-vectorizer.h (struct _loop_vec_info): Add fields ptr_mask,
may_misalign_stmts, and num_blocks
* tree-vectorizer.c (vect_compute_data_refs_alignment): Return
bool so caller knows when no vectorization is possible.
(vect_compute_data_ref_alignment): Return bool and rearrange code
so false returns, no vectorization possible, are performed first.
(vect_analyze_data_refs):
(vect_create_index_for_array_ref): Replaced with
vect_create_index_for_vector_ref.
(vect_create_addr_base_for_vector_ref): New function, contains code from
vect_create_data_ref so that it may be used by that procedure and
by vect_create_cond_for_align_checks.
(vect_create_cond_for_align_checks): New function.
(new_loop_vec_info): initialize added _loop_vec_info fields.
(destroy_loop_vec_info): Use/clear added _loop_vec_info fields.
(vect_create_data_ref): Changed to use vect_create_index_for_vector_ref
and vect_create_addr_base_for_vector_ref.
(vect_generate_tmps_on_preheader): Fix comment.
(vect_transform_loop): Add calls to tree_ssa_loop_version and
vect_create_cond_for_align_checks to implement the vector loop
versioning for alignment.
(vect_analyze_operations, vect_mark_stmts_to_be_vectorized,
vect_analyze_data_refs): Use num_blocks field from _loop_vec_info.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.lno.diff?cvsroot=gcc&only_with_tag=lno-branch&r1=1.1.2.258&r2=1.1.2.259
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-vectorizer.c.diff?cvsroot=gcc&only_with_tag=lno-branch&r1=1.1.2.63&r2=1.1.2.64
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-vectorizer.h.diff?cvsroot=gcc&only_with_tag=lno-branch&r1=1.1.2.15&r2=1.1.2.16
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.lno.diff?cvsroot=gcc&only_with_tag=lno-branch&r1=1.1.2.27&r2=1.1.2.28
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/vect/vect-33.c.diff?cvsroot=gcc&only_with_tag=lno-branch&r1=1.1.8.1&r2=1.1.8.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/vect/vect-44.c.diff?cvsroot=gcc&only_with_tag=lno-branch&r1=1.1.8.1&r2=1.1.8.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/vect/vect-48.c.diff?cvsroot=gcc&only_with_tag=lno-branch&r1=1.1.8.1&r2=1.1.8.2