pr57705.c: Adjust for a !vect_pack_trunc target.

* gcc.dg/vect/pr57705.c: Adjust for a !vect_pack_trunc target.
	* gcc.dg/vect/pr57741-2.c: Require a vect_float target.
	* gcc.dg/vect/pr57741-3.c: Likewise.
	* gcc.dg/vect/bb-slp-32.c: XFAIL for a vect_no_align target.

From-SVN: r201282
This commit is contained in:
Eric Botcazou 2013-07-27 06:38:12 +00:00
parent ce7176c174
commit 538e2a82e9
5 changed files with 13 additions and 3 deletions

View File

@ -1,4 +1,11 @@
2013-07-26 Joern Rennecke <joern.rennecke@embecosm.com>
2013-07-27 Eric Botcazou <ebotcazou@adacore.com>
* gcc.dg/vect/pr57705.c: Adjust for a !vect_pack_trunc target.
* gcc.dg/vect/pr57741-2.c: Require a vect_float target.
* gcc.dg/vect/pr57741-3.c: Likewise.
* gcc.dg/vect/bb-slp-32.c: XFAIL for a vect_no_align target.
2013-07-26 Joern Rennecke <joern.rennecke@embecosm.com>
Skip tests that make assumptions about struct layout that don't hold
on epiphany:

View File

@ -19,5 +19,5 @@ int foo (int *p)
return tem0 + tem1 + tem2 + tem3;
}
/* { dg-final { scan-tree-dump "vectorization is not profitable" "slp" } } */
/* { dg-final { scan-tree-dump "vectorization is not profitable" "slp" { xfail vect_no_align } } } */
/* { dg-final { cleanup-tree-dump "slp" } } */

View File

@ -61,5 +61,6 @@ main ()
return 0;
}
/* { dg-final { scan-tree-dump-times "vectorized 1 loop" 3 "vect" } } */
/* { dg-final { scan-tree-dump-times "vectorized 1 loop" 3 "vect" { target vect_pack_trunc } } } */
/* { dg-final { scan-tree-dump-times "vectorized 1 loop" 2 "vect" { target { ! vect_pack_trunc } } } } */
/* { dg-final { cleanup-tree-dump "vect" } } */

View File

@ -1,5 +1,6 @@
/* PR tree-optimization/57741 */
/* { dg-do run } */
/* { dg-require-effective-target vect_float } */
/* { dg-additional-options "-ffast-math" } */
#include "tree-vect.h"

View File

@ -1,5 +1,6 @@
/* PR tree-optimization/57741 */
/* { dg-do run } */
/* { dg-require-effective-target vect_float } */
/* { dg-additional-options "-ffast-math" } */
#include "tree-vect.h"