[gcc r15-1656] rs6000, altivec-1-runnable.c update the require-effective-target
Carl Love
carll@gcc.gnu.org
Wed Jun 26 15:46:43 GMT 2024
https://gcc.gnu.org/g:4bf719bc5858cf7e5c96a1b396b0b4b0480c7e5b
commit r15-1656-g4bf719bc5858cf7e5c96a1b396b0b4b0480c7e5b
Author: Carl Love <cel@linux.ibm.com>
Date: Mon Jun 24 12:31:19 2024 -0400
rs6000, altivec-1-runnable.c update the require-effective-target
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.
Diff:
---
gcc/testsuite/gcc.target/powerpc/altivec-1-runnable.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/gcc/testsuite/gcc.target/powerpc/altivec-1-runnable.c b/gcc/testsuite/gcc.target/powerpc/altivec-1-runnable.c
index 4e32860a169..3f084c91798 100644
--- a/gcc/testsuite/gcc.target/powerpc/altivec-1-runnable.c
+++ b/gcc/testsuite/gcc.target/powerpc/altivec-1-runnable.c
@@ -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>
More information about the Gcc-cvs
mailing list