diff mbox series

rs6000/test: Fix selector in fold-vec-mule-misc.c

Message ID 9a6408bd18fe893a59297d80010fbd3660300347.1584207542.git.segher@kernel.crashing.org
State New
Headers show
Series rs6000/test: Fix selector in fold-vec-mule-misc.c | expand

Commit Message

Segher Boessenkool March 14, 2020, 5:39 p.m. UTC
Run tests should use vmx_hw, not just powerpc_altivec_ok.  Committed.


Segher


gcc/testsuite/
	PR target/94176
	* gcc.target/powerpc/fold-vec-mule-misc.c: Use vmx_hw selector.
---
 gcc/testsuite/ChangeLog                               | 5 +++++
 gcc/testsuite/gcc.target/powerpc/fold-vec-mule-misc.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 75d6041..0f84567 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@ 
+2020-03-14  Segher Boessenkool  <segher@kernel.crashing.org>
+
+	PR target/94176
+	* gcc.target/powerpc/fold-vec-mule-misc.c: Use vmx_hw selector.
+
 2020-03-13  David Malcolm  <dmalcolm@redhat.com>
 
 	PR analyzer/94099
diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-mule-misc.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-mule-misc.c
index 9b89118..7daf302 100644
--- a/gcc/testsuite/gcc.target/powerpc/fold-vec-mule-misc.c
+++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-mule-misc.c
@@ -1,7 +1,7 @@ 
 /* PR target/79941 */
 
 /* { dg-do run } */
-/* { dg-require-effective-target powerpc_altivec_ok } */
+/* { dg-require-effective-target vmx_hw } */
 /* { dg-options "-maltivec -O2 -save-temps" } */
 
 #include <altivec.h>