slp-reduc-3.c: Make check dependent on vect_unpack.

2010-11-18  Steve Ellcey  <sje@cup.hp.com>

	* gcc.dg/vect/slp-reduc-3.c: Make check dependent on vect_unpack.
	* gcc.dg/vect/slp-reduc-6.c: Ditto, plus add alignment.

From-SVN: r166922
This commit is contained in:
Steve Ellcey 2010-11-18 23:50:26 +00:00 committed by Steve Ellcey
parent 77841d7717
commit 3391b84b1e
3 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2010-11-18 Steve Ellcey <sje@cup.hp.com>
* gcc.dg/vect/slp-reduc-3.c: Make check dependent on vect_unpack.
* gcc.dg/vect/slp-reduc-6.c: Ditto, plus add alignment.
2010-11-18 Jakub Jelinek <jakub@redhat.com>
PR middle-end/46534

View File

@ -57,6 +57,6 @@ int main (void)
/* The initialization loop in main also gets vectorized. */
/* { dg-final { scan-tree-dump-times "vect_recog_dot_prod_pattern: detected" 1 "vect" { xfail *-*-* } } } */
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 2 "vect" { target { vect_short_mult && vect_widen_sum_hi_to_si } } } } */
/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect" { xfail { vect_widen_sum_hi_to_si_pattern } } } } */
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 2 "vect" { target { vect_short_mult && { vect_widen_sum_hi_to_si && vect_unpack } } } } } */
/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect" { xfail { vect_widen_sum_hi_to_si_pattern || { ! vect_unpack } } } } } */
/* { dg-final { cleanup-tree-dump "vect" } } */

View File

@ -6,7 +6,7 @@
#define N 128
int a[N], b[N];
int a[N], b[N] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__)));
/* Vectorization of reduction. Loop-aware SLP is not possible, because of
different arrays. */
@ -43,7 +43,7 @@ int main (void)
return 0;
}
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 2 "vect" { xfail vect_no_int_add } } } */
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 2 "vect" { xfail { vect_no_int_add || { ! vect_unpack } } } } } */
/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 0 "vect" } } */
/* { dg-final { scan-tree-dump-times "different interleaving chains in one node" 1 "vect" { target { ! vect_no_int_add } } } } */
/* { dg-final { cleanup-tree-dump "vect" } } */