This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc/gcc ChangeLog.autovect tree-vect-analyze.c ...
- From: dorit at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: 23 Oct 2005 17:23:02 -0000
- Subject: gcc/gcc ChangeLog.autovect tree-vect-analyze.c ...
CVSROOT: /cvs/gcc
Module name: gcc
Branch: autovect-branch
Changes by: dorit@gcc.gnu.org 2005-10-23 17:23:02
Modified files:
gcc : ChangeLog.autovect tree-vect-analyze.c
tree-vect-transform.c
gcc/testsuite : ChangeLog.autovect
Added files:
gcc/testsuite/gcc.dg/vect: vect-mult-hi-and-dot.c vect-sad-s8.c
Log message:
* tree-vect-analyze.c (vect_pattern_recog_funcs): Move
vect_recog_sad_pattern to later in the initialization so it could use
previously detected widen-sum.
(vect_recog_sad_pattern): Push last_stmt instead of stmt. Check for
optab of SAD_EXPR (accidentally was MULT_HI_EXPR).
(vect_recog_mult_hi_pattern): Don't push the widen-mult pattern-stmt
into the stmt-list.
(vect_recog_dot_prod_pattern): Rely on previously detected widen-mult
and widen-sum.
* tree-vect-transform.c (vectorizable_reduction): Allow other kinds
of def-types for the uses of the reduction.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.autovect.diff?cvsroot=gcc&only_with_tag=autovect-branch&r1=1.1.2.93&r2=1.1.2.94
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-vect-analyze.c.diff?cvsroot=gcc&only_with_tag=autovect-branch&r1=2.4.4.27&r2=2.4.4.28
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-vect-transform.c.diff?cvsroot=gcc&only_with_tag=autovect-branch&r1=2.1.4.27&r2=2.1.4.28
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.autovect.diff?cvsroot=gcc&only_with_tag=autovect-branch&r1=1.1.2.51&r2=1.1.2.52
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/vect/vect-mult-hi-and-dot.c.diff?cvsroot=gcc&only_with_tag=autovect-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/vect/vect-sad-s8.c.diff?cvsroot=gcc&only_with_tag=autovect-branch&r1=NONE&r2=1.1.2.1