pr48258-2.c: Simplfy the acceptance conditions to verify the reduction code is vector...
authorMichael Meissner <meissner@linux.vnet.ibm.com>
Fri, 2 Nov 2012 20:07:20 +0000 (20:07 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Fri, 2 Nov 2012 20:07:20 +0000 (20:07 +0000)
2012-11-02  Michael Meissner  <meissner@linux.vnet.ibm.com>

* gcc.target/powerpc/pr48258-2.c: Simplfy the acceptance
conditions to verify the reduction code is vectorized.

From-SVN: r193107

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/pr48258-2.c

index 7bf85b0c714c3fd595d0c78fbb10561e208ad787..0dec13f86d4fc700ab3399b47fef75a97d15994e 100644 (file)
@@ -1,5 +1,8 @@
 2012-11-02  Michael Meissner  <meissner@linux.vnet.ibm.com>
 
+       * gcc.target/powerpc/pr48258-2.c: Simplfy the acceptance
+       conditions to verify the reduction code is vectorized.
+
        * gcc.target/powerpc/pr46728-1.c: Pass -fno-ident to eliminate
        failures in case 'pow', such as 'powerpc' is used in the compiler
        version name.
index 443fb624e30114c982dd4d08190634dd21f7a9c1..23ed9f26d2101bad2b9aff370adb69bee65b7ac8 100644 (file)
@@ -1,17 +1,10 @@
 /* { dg-do compile } */
 /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */
 /* { dg-require-effective-target powerpc_vsx_ok } */
-/* { dg-options "-O3 -mcpu=power7 -mabi=altivec -ffast-math -fno-unroll-loops" } */
-/* { dg-final { scan-assembler-times "xvadddp" 1 } } */
-/* { dg-final { scan-assembler-times "xvmindp" 1 } } */
-/* { dg-final { scan-assembler-times "xvmaxdp" 1 } } */
-/* { dg-final { scan-assembler-times "xsadddp" 1 } } */
-/* { dg-final { scan-assembler-times "xsmindp" 1 } } */
-/* { dg-final { scan-assembler-times "xsmaxdp" 1 } } */
-/* { dg-final { scan-assembler-not "xxsldwi" } } */
-/* { dg-final { scan-assembler-not "stvx" } } */
-/* { dg-final { scan-assembler-not "stxvd2x" } } */
-/* { dg-final { scan-assembler-not "stxvw4x" } } */
+/* { dg-options "-O3 -mcpu=power7 -mabi=altivec -ffast-math" } */
+/* { dg-final { scan-assembler "xvadddp" } } */
+/* { dg-final { scan-assembler "xvmindp" } } */
+/* { dg-final { scan-assembler "xvmaxdp" } } */
 
 #include <stddef.h>