This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc/gcc ChangeLog.autovect expr.c genopinit.c ...
- From: dorit at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: 23 Oct 2005 10:10:13 -0000
- Subject: gcc/gcc ChangeLog.autovect expr.c genopinit.c ...
CVSROOT: /cvs/gcc
Module name: gcc
Branch: autovect-branch
Changes by: dorit@gcc.gnu.org 2005-10-23 10:10:13
Modified files:
gcc : ChangeLog.autovect expr.c genopinit.c optabs.c
optabs.h tree-inline.c tree-pretty-print.c
tree-ssa-operands.c tree-vect-analyze.c
tree-vect-transform.c tree-vectorizer.h
tree.def
gcc/config/rs6000: altivec.md
gcc/testsuite : ChangeLog.autovect
Added files:
gcc/testsuite/gcc.dg/vect: vect-mult-hi.c
Log message:
* expr.c (expand_expr_real_1): Implement MULT_HI_EXPR case.
* genopinit.c (sad_optab): Initialize new optab.
* optabs.c (optab_for_tree_code): Add case for SAD_EXPR.
(sad_optab): Initialize new optab.
* optabs.h (OTI_sad): New optan index.
(sad_optan): New optab.
* tree-inline.c (estimate_num_insns_1): Add case for SAD_EXPR.
* tree-pretty-print.c (dump_generic_node): Add case for SAD_EXPR.
(op_prio): Add case for SAD_EXPR.
* tree-vect-analyze.c (vect_recog_sad_pattern): New function.
(vect_recog_mult_hi_pattern): Implement.
(vect_recog_dot_prod_pattern, vect_recog_widen_mult_pattern):
(vect_recog_widen_sum_pattern, vect_recog_unsigned_subsat_pattern):
(vect_pattern_recog_1): Replace build with appropriate buildN.
* tree-vect-transform.c (get_initial_def_for_reduction): Add case for
SAD_EXPR.
* tree-vectorizer.h (NUM_PATTERNS): Set to 6.
(vect_recog_sad_pattern): New function declaration.
* tree.def (SAD_EXPR): New tree-code.
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.92&r2=1.1.2.93
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/expr.c.diff?cvsroot=gcc&only_with_tag=autovect-branch&r1=1.738.2.12&r2=1.738.2.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/genopinit.c.diff?cvsroot=gcc&only_with_tag=autovect-branch&r1=1.82.14.12&r2=1.82.14.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/optabs.c.diff?cvsroot=gcc&only_with_tag=autovect-branch&r1=1.247.2.14&r2=1.247.2.15
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/optabs.h.diff?cvsroot=gcc&only_with_tag=autovect-branch&r1=1.40.2.13&r2=1.40.2.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-inline.c.diff?cvsroot=gcc&only_with_tag=autovect-branch&r1=1.150.2.10&r2=1.150.2.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-pretty-print.c.diff?cvsroot=gcc&only_with_tag=autovect-branch&r1=2.47.4.10&r2=2.47.4.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-operands.c.diff?cvsroot=gcc&only_with_tag=autovect-branch&r1=2.56.2.8&r2=2.56.2.9
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.26&r2=2.4.4.27
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.26&r2=2.1.4.27
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-vectorizer.h.diff?cvsroot=gcc&only_with_tag=autovect-branch&r1=2.7.2.27&r2=2.7.2.28
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.def.diff?cvsroot=gcc&only_with_tag=autovect-branch&r1=1.103.14.15&r2=1.103.14.16
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/altivec.md.diff?cvsroot=gcc&only_with_tag=autovect-branch&r1=1.24.8.15&r2=1.24.8.16
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.50&r2=1.1.2.51
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/vect/vect-mult-hi.c.diff?cvsroot=gcc&only_with_tag=autovect-branch&r1=NONE&r2=1.1.2.1