vec-cmp-sel.c: Avoid test failure on machines without VSX an Power8 vector support.
authorBill Schmidt <wschmidt@vnet.linux.ibm.com>
Tue, 4 Aug 2015 14:09:23 +0000 (14:09 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Tue, 4 Aug 2015 14:09:23 +0000 (14:09 +0000)
2015-08-04  Bill Schmidt  <wschmidt@vnet.linux.ibm.com>

* gcc.target/powerpc/vec-cmp-sel.c: Avoid test failure on machines
without VSX an Power8 vector support.

From-SVN: r226578

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/vec-cmp-sel.c

index dc1262fdfbef75be94f192f8151d66b98e407f9b..adce7ea4f1e627c0e681ebc4f3631e7438145137 100644 (file)
@@ -1,3 +1,8 @@
+2015-08-04  Bill Schmidt  <wschmidt@vnet.linux.ibm.com>
+
+       * gcc.target/powerpc/vec-cmp-sel.c: Avoid test failure on machines
+       without VSX an Power8 vector support.
+
 2015-08-04  Richard Biener  <rguenther@suse.de>
 
        * gcc.dg/tree-ssa/ssa-ccp-38.c: New testcase.
index 2888216940e160903701e68b47faca2daef2955b..6f3c0937ba425eef666fd3c491747cfbe42bd840 100644 (file)
@@ -1,6 +1,7 @@
 /* { dg-do compile { target powerpc64*-*-* } } */
 /* { dg-require-effective-target powerpc_p8vector_ok } */
-/* { dg-options "-maltivec -O2" } */
+/* { dg-require-effective-target powerpc_vsx_ok } */
+/* { dg-options "-maltivec -O2 -mvsx -mpower8-vector" } */
 /* { dg-final { scan-assembler "vcmpgtsd" } } */
 /* { dg-final { scan-assembler-not "xxlnor" } } */