r226290 - in /branches/gomp-4_0-branch/gcc: Cha...

vries@gcc.gnu.org vries@gcc.gnu.org
Mon Jul 27 23:46:00 GMT 2015


Author: vries
Date: Mon Jul 27 23:46:26 2015
New Revision: 226290

URL: https://gcc.gnu.org/viewcvs?rev=226290&root=gcc&view=rev
Log:
Allow non-overflow ops in vect_is_simple_reduction_1

2015-07-28  Tom de Vries  <tom@codesourcery.com>

	* tree.c (no_overflow_tree_code): New function.
	* tree.h (no_overflow_tree_code): Declare.
	* tree-vect-loop.c (vect_is_simple_reduction_1): Use
	no_overflow_tree_code.

	* gcc.dg/autopar/reduc-2char.c (init_arrays): Mark with attribute
	optimize ("-ftree-parallelize-loops=0").
	Add successful scans for 2 detected reductions.	 Add xfail scans for 3
	detected reductions.
	* gcc.dg/autopar/reduc-2short.c: Same.
	* gcc.dg/autopar/reduc-8.c  (init_arrays): Mark with attribute
	optimize ("-ftree-parallelize-loops=0").  Add successful scans for 2
	detected reductions.
	* gcc.dg/vect/trapv-vect-reduc-4.c: Update scan to match vectorized min
	and max reductions.

Modified:
    branches/gomp-4_0-branch/gcc/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/testsuite/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/testsuite/gcc.dg/autopar/reduc-2char.c
    branches/gomp-4_0-branch/gcc/testsuite/gcc.dg/autopar/reduc-2short.c
    branches/gomp-4_0-branch/gcc/testsuite/gcc.dg/autopar/reduc-8.c
    branches/gomp-4_0-branch/gcc/testsuite/gcc.dg/vect/trapv-vect-reduc-4.c
    branches/gomp-4_0-branch/gcc/tree-vect-loop.c
    branches/gomp-4_0-branch/gcc/tree.c
    branches/gomp-4_0-branch/gcc/tree.h



More information about the Gcc-cvs mailing list