]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
rs6000, altivec-2-runnable.c update the require-effective-target
authorCarl Love <cel@linux.ibm.com>
Fri, 14 Jun 2024 16:46:00 +0000 (12:46 -0400)
committerCarl Love <cel@linux.ibm.com>
Wed, 26 Jun 2024 15:45:52 +0000 (11:45 -0400)
The test requires a minimum of Power8 vector HW and a compile level
of -O2.  Update the dg test directives.

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

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

index 17b23eb9d50ec2f863aa01168e537ca5d5424cc6..660669f69fdadcec0a1a7f2a8ffc0461d3538a20 100644 (file)
@@ -1,6 +1,6 @@
-/* { dg-do run } */
-/* { dg-options "-mvsx" } */
-/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */
+/* { dg-do run { target p8vector_hw } } */
+/* { dg-do compile { target { ! p8vector_hw } } } */
+/* { dg-options "-O2  -mdejagnu-cpu=power8" } */
 /* { dg-require-effective-target powerpc_vsx } */
 
 #include <altivec.h>