re PR testsuite/63439 (FAIL: gcc.dg/vect/vect-33.c scan-tree-dump vect "Alignment...
authorRichard Biener <rguenther@suse.de>
Fri, 23 Jan 2015 13:08:32 +0000 (13:08 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 23 Jan 2015 13:08:32 +0000 (13:08 +0000)
2015-01-23  Richard Biener  <rguenther@suse.de>

PR testsuite/63439
* gcc.dg/vect/bb-slp-11.c: Require vect_pack_trunc.
* gcc.dg/vect/bb-slp-26.c: Require vect_hw_misalign.

From-SVN: r220039

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/bb-slp-11.c
gcc/testsuite/gcc.dg/vect/bb-slp-26.c

index cf9b478268bd28e5c56002fdfdf17976bf631c34..5b11856aacd2c39411012fc0d22e93a7894ab1ed 100644 (file)
@@ -1,3 +1,9 @@
+2015-01-23  Richard Biener  <rguenther@suse.de>
+
+       PR testsuite/63439
+       * gcc.dg/vect/bb-slp-11.c: Require vect_pack_trunc.
+       * gcc.dg/vect/bb-slp-26.c: Require vect_hw_misalign.
+
 2015-01-23  Marek Polacek  <polacek@redhat.com>
 
        PR preprocessor/60570
index 1ae31416b83421ed0e8e5562beafe8127c206cfc..735bd7004c26117e01d7f610f03f7d9d489a6d74 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_int } */
+/* { dg-require-effective-target vect_pack_trunc } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
index f33a94abd0b23e3c73c89fd19af0d0779d51fbe2..3eaead7db8c57d8c9d994d0135269244df1866d4 100644 (file)
@@ -9,8 +9,9 @@
 
 char src[N], dst[N];
 
-void foo (char * __restrict__ dst, char * __restrict__ src, int h,
-          int stride, int dummy)
+void __attribute__((noinline,noclone))
+foo (char * __restrict__ dst, char * __restrict__ src, int h,
+     int stride, int dummy)
 {
   int i;
   h /= 16;
@@ -55,7 +56,7 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized" 1 "slp1" { target vect64 } } } */
+/* { dg-final { scan-tree-dump-times "basic block vectorized" 1 "slp1" { target { vect64 && vect_hw_misalign } } } } */
 /* { dg-final { cleanup-tree-dump "slp1" } } */
 /* { dg-final { cleanup-tree-dump "slp2" } } */