]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
rs6000, altivec-1-runnable.c update the require-effective-target
authorCarl Love <cel@linux.ibm.com>
Mon, 24 Jun 2024 16:31:19 +0000 (12:31 -0400)
committerCarl Love <cel@linux.ibm.com>
Wed, 26 Jun 2024 15:45:30 +0000 (11:45 -0400)
Update the dg test directives.

gcc/testsuite/ChangeLog:gcc/testsuite/ChangeLog:
* gcc.target/powerpc/altivec-1-runnable.c: Change the
require-effective-target for the test.

gcc/testsuite/gcc.target/powerpc/altivec-1-runnable.c

index 4e32860a169b6bca753c0983d7db577f5455c0b2..3f084c91798d7039a2dc0372fc88b02c24525129 100644 (file)
@@ -1,5 +1,6 @@
-/* { dg-do compile { target powerpc*-*-* } } */
-/* { dg-options "-maltivec" } */
+/* { dg-do run { target vmx_hw } } */
+/* { dg-do compile { target { ! vmx_hw } } } */
+/* { dg-options "-O2 -maltivec" } */
 /* { dg-require-effective-target powerpc_altivec } */
 
 #include <altivec.h>