This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r175102 - in /trunk/gcc: ChangeLog testsuite/Ch...
- From: irar at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 16 Jun 2011 12:08:37 -0000
- Subject: r175102 - in /trunk/gcc: ChangeLog testsuite/Ch...
Author: irar
Date: Thu Jun 16 12:08:37 2011
New Revision: 175102
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175102
Log:
* tree-vectorizer.h (vect_recog_func_ptr): Change the first
argument to be a VEC of statements.
* tree-vect-loop.c (vect_determine_vectorization_factor):
Remove the assert that pattern statements have to have their
vector type set.
* tree-vect-patterns.c (vect_recog_widen_sum_pattern):
Change the first argument to be a VEC of statements. Update
documentation.
(vect_recog_dot_prod_pattern, vect_recog_pow_pattern): Likewise.
(vect_handle_widen_mult_by_const): New function.
(vect_recog_widen_mult_pattern): Change the first argument to
be a VEC of statements. Update documentation. Check that the
constant is INTEGER_CST. Support multiplication by a constant
that fits an intermediate type - call
vect_handle_widen_mult_by_const.
(vect_pattern_recog_1): Update vect_recog_func_ptr and its
call. Handle additional pattern statements if necessary.
Added:
trunk/gcc/testsuite/gcc.dg/vect/vect-widen-mult-half-u8.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-vect-loop.c
trunk/gcc/tree-vect-patterns.c
trunk/gcc/tree-vectorizer.h