pr70963.c: Require at least power8 at both compile and run time.
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Wed, 11 May 2016 21:38:40 +0000 (21:38 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Wed, 11 May 2016 21:38:40 +0000 (21:38 +0000)
2016-05-11  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* gcc.target/powerpc/pr70963.c: Require at least power8 at both
compile and run time.

From-SVN: r236146

gcc/ChangeLog
gcc/testsuite/gcc.target/powerpc/pr70963.c

index b6571813d52f7d1ad8ff28ece68d0a15cc66f58f..3a817667a5f5d26b1e906c0ca77b6c9621356744 100644 (file)
@@ -1,3 +1,8 @@
+2016-05-11  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
+
+       * gcc.target/powerpc/pr70963.c: Require at least power8 at both
+       compile and run time.
+
 2016-05-11  Mikhail Maltsev  <maltsevm@gmail.com>
 
        PR c/43651
index b5d8316b722f65f724b483e6aedbbe4a31f500fc..128ebd9f09ff9e3a4240e4176de643f63eef9965 100644 (file)
@@ -1,7 +1,8 @@
-/* { dg-do run { target { powerpc64*-*-* && vsx_hw } } } */
-/* { dg-require-effective-target powerpc_vsx_ok } */
+/* { dg-do run { target powerpc64*-*-* } } */
+/* { dg-require-effective-target p8vector_hw } */
 /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */
-/* { dg-options "-maltivec" } */
+/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */
+/* { dg-options "-mcpu=power8" } */
 
 #include <stdlib.h>
 #include <stdio.h>