[COMMITTED] rs6000: Correct several errant dg-require-effective-target

Message ID 20211012034750.777141-1-pc@us.ibm.com
State New
Headers show
Series
  • [COMMITTED] rs6000: Correct several errant dg-require-effective-target
Related show

Commit Message

Jason Merrill via Gcc-patches Oct. 12, 2021, 3:47 a.m.
I misspelled the dg-require-effective-target attribute "vsx_hw" in
recent commits, causing the effected tests to fail.  Correct the spelling.

2021-10-11  Paul A. Clarke  <pc@us.ibm.com>

gcc/testsuite
	* gcc.target/powerpc/pr78102.c: Fix dg-require-effective-target.
	* gcc.target/powerpc/sse4_1-packusdw.c: Likewise.
	* gcc.target/powerpc/sse4_1-pmaxsb.c: Likewise.
	* gcc.target/powerpc/sse4_1-pmaxsd.c: Likewise.
	* gcc.target/powerpc/sse4_1-pmaxud.c: Likewise.
	* gcc.target/powerpc/sse4_1-pmaxuw.c: Likewise.
	* gcc.target/powerpc/sse4_1-pminsb.c: Likewise.
	* gcc.target/powerpc/sse4_1-pminsd.c: Likewise.
	* gcc.target/powerpc/sse4_1-pminud.c: Likewise.
	* gcc.target/powerpc/sse4_1-pminuw.c: Likewise.
	* gcc.target/powerpc/sse4_1-pmovsxbd.c: Likewise.
	* gcc.target/powerpc/sse4_1-pmovsxbw.c: Likewise.
	* gcc.target/powerpc/sse4_1-pmovsxwd.c: Likewise.
	* gcc.target/powerpc/sse4_1-pmovzxbd.c: Likewise.
	* gcc.target/powerpc/sse4_1-pmovzxbq.c: Likewise.
	* gcc.target/powerpc/sse4_1-pmovzxbw.c: Likewise.
	* gcc.target/powerpc/sse4_1-pmovzxdq.c: Likewise.
	* gcc.target/powerpc/sse4_1-pmovzxwd.c: Likewise.
	* gcc.target/powerpc/sse4_1-pmovzxwq.c: Likewise.
	* gcc.target/powerpc/sse4_1-pmulld.c: Likewise.
	* gcc.target/powerpc/sse4_2-pcmpgtq.c: Likewise.
	* gcc.target/powerpc/sse4_1-phminposuw.c: Use correct
	dg-require-effective-target.
---
Committed as obvious.

 gcc/testsuite/gcc.target/powerpc/pr78102.c           | 2 +-
 gcc/testsuite/gcc.target/powerpc/sse4_1-packusdw.c   | 2 +-
 gcc/testsuite/gcc.target/powerpc/sse4_1-phminposuw.c | 2 +-
 gcc/testsuite/gcc.target/powerpc/sse4_1-pmaxsb.c     | 2 +-
 gcc/testsuite/gcc.target/powerpc/sse4_1-pmaxsd.c     | 2 +-
 gcc/testsuite/gcc.target/powerpc/sse4_1-pmaxud.c     | 2 +-
 gcc/testsuite/gcc.target/powerpc/sse4_1-pmaxuw.c     | 2 +-
 gcc/testsuite/gcc.target/powerpc/sse4_1-pminsb.c     | 2 +-
 gcc/testsuite/gcc.target/powerpc/sse4_1-pminsd.c     | 2 +-
 gcc/testsuite/gcc.target/powerpc/sse4_1-pminud.c     | 2 +-
 gcc/testsuite/gcc.target/powerpc/sse4_1-pminuw.c     | 2 +-
 gcc/testsuite/gcc.target/powerpc/sse4_1-pmovsxbd.c   | 2 +-
 gcc/testsuite/gcc.target/powerpc/sse4_1-pmovsxbw.c   | 2 +-
 gcc/testsuite/gcc.target/powerpc/sse4_1-pmovsxwd.c   | 2 +-
 gcc/testsuite/gcc.target/powerpc/sse4_1-pmovzxbd.c   | 2 +-
 gcc/testsuite/gcc.target/powerpc/sse4_1-pmovzxbq.c   | 2 +-
 gcc/testsuite/gcc.target/powerpc/sse4_1-pmovzxbw.c   | 2 +-
 gcc/testsuite/gcc.target/powerpc/sse4_1-pmovzxdq.c   | 2 +-
 gcc/testsuite/gcc.target/powerpc/sse4_1-pmovzxwd.c   | 2 +-
 gcc/testsuite/gcc.target/powerpc/sse4_1-pmovzxwq.c   | 2 +-
 gcc/testsuite/gcc.target/powerpc/sse4_1-pmulld.c     | 2 +-
 gcc/testsuite/gcc.target/powerpc/sse4_2-pcmpgtq.c    | 2 +-
 22 files changed, 22 insertions(+), 22 deletions(-)

-- 
2.27.0

Patch

diff --git a/gcc/testsuite/gcc.target/powerpc/pr78102.c b/gcc/testsuite/gcc.target/powerpc/pr78102.c
index 68898c7f9428..434e677e1714 100644
--- a/gcc/testsuite/gcc.target/powerpc/pr78102.c
+++ b/gcc/testsuite/gcc.target/powerpc/pr78102.c
@@ -1,6 +1,6 @@ 
 /* { dg-do compile } */
 /* { dg-options "-O2 -mvsx" } */
-/* { dg-require-effective-target powerpc_vsx_hw } */
+/* { dg-require-effective-target vsx_hw } */
 
 #include <x86intrin.h>
 
diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-packusdw.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-packusdw.c
index 8b757a267468..fe51003ba46b 100644
--- a/gcc/testsuite/gcc.target/powerpc/sse4_1-packusdw.c
+++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-packusdw.c
@@ -1,6 +1,6 @@ 
 /* { dg-do run } */
 /* { dg-options "-O2 -mvsx" } */
-/* { dg-require-effective-target powerpc_vsx_hw } */
+/* { dg-require-effective-target vsx_hw } */
 
 #ifndef CHECK_H
 #define CHECK_H "sse4_1-check.h"
diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-phminposuw.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-phminposuw.c
index 146df24777a9..150a8a0f5638 100644
--- a/gcc/testsuite/gcc.target/powerpc/sse4_1-phminposuw.c
+++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-phminposuw.c
@@ -1,6 +1,6 @@ 
 /* { dg-do run } */
 /* { dg-options "-O2 -mvsx -Wno-psabi" } */
-/* { dg-require-effective-target powerpc_vsx_ok } */
+/* { dg-require-effective-target vsx_hw } */
 
 #define NO_WARN_X86_INTRINSICS 1
 #ifndef CHECK_H
diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-pmaxsb.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-pmaxsb.c
index 33f168b712ea..2f5906d83cf7 100644
--- a/gcc/testsuite/gcc.target/powerpc/sse4_1-pmaxsb.c
+++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-pmaxsb.c
@@ -1,5 +1,5 @@ 
 /* { dg-do run } */
-/* { dg-require-effective-target powerpc_vsx_hw } */
+/* { dg-require-effective-target vsx_hw } */
 /* { dg-options "-O2 -mvsx" } */
 
 #ifndef CHECK_H
diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-pmaxsd.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-pmaxsd.c
index 60b342587ddb..d196abedbebf 100644
--- a/gcc/testsuite/gcc.target/powerpc/sse4_1-pmaxsd.c
+++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-pmaxsd.c
@@ -1,5 +1,5 @@ 
 /* { dg-do run } */
-/* { dg-require-effective-target powerpc_vsx_hw } */
+/* { dg-require-effective-target vsx_hw } */
 /* { dg-options "-O2 -mvsx" } */
 
 #ifndef CHECK_H
diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-pmaxud.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-pmaxud.c
index a6e9ffa711e1..140a7f8780cb 100644
--- a/gcc/testsuite/gcc.target/powerpc/sse4_1-pmaxud.c
+++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-pmaxud.c
@@ -1,5 +1,5 @@ 
 /* { dg-do run } */
-/* { dg-require-effective-target powerpc_vsx_hw } */
+/* { dg-require-effective-target vsx_hw } */
 /* { dg-options "-O2 -mvsx" } */
 
 #ifndef CHECK_H
diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-pmaxuw.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-pmaxuw.c
index 826db1efe1f5..9f9b05ff5d12 100644
--- a/gcc/testsuite/gcc.target/powerpc/sse4_1-pmaxuw.c
+++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-pmaxuw.c
@@ -1,5 +1,5 @@ 
 /* { dg-do run } */
-/* { dg-require-effective-target powerpc_vsx_hw } */
+/* { dg-require-effective-target vsx_hw } */
 /* { dg-options "-O2 -mvsx" } */
 
 #ifndef CHECK_H
diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-pminsb.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-pminsb.c
index 74a395882e79..533e2bc089cb 100644
--- a/gcc/testsuite/gcc.target/powerpc/sse4_1-pminsb.c
+++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-pminsb.c
@@ -1,5 +1,5 @@ 
 /* { dg-do run } */
-/* { dg-require-effective-target powerpc_vsx_hw } */
+/* { dg-require-effective-target vsx_hw } */
 /* { dg-options "-O2 -mvsx" } */
 
 #ifndef CHECK_H
diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-pminsd.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-pminsd.c
index 36aab228fcf3..585a2acbffdb 100644
--- a/gcc/testsuite/gcc.target/powerpc/sse4_1-pminsd.c
+++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-pminsd.c
@@ -1,5 +1,5 @@ 
 /* { dg-do run } */
-/* { dg-require-effective-target powerpc_vsx_hw } */
+/* { dg-require-effective-target vsx_hw } */
 /* { dg-options "-O2 -mvsx" } */
 
 #ifndef CHECK_H
diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-pminud.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-pminud.c
index 972e15124ca9..bd6b46fa572f 100644
--- a/gcc/testsuite/gcc.target/powerpc/sse4_1-pminud.c
+++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-pminud.c
@@ -1,5 +1,5 @@ 
 /* { dg-do run } */
-/* { dg-require-effective-target powerpc_vsx_hw } */
+/* { dg-require-effective-target vsx_hw } */
 /* { dg-options "-O2 -mvsx" } */
 
 #ifndef CHECK_H
diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-pminuw.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-pminuw.c
index 4fe7d3aabf5c..b4ef7172fad0 100644
--- a/gcc/testsuite/gcc.target/powerpc/sse4_1-pminuw.c
+++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-pminuw.c
@@ -1,5 +1,5 @@ 
 /* { dg-do run } */
-/* { dg-require-effective-target powerpc_vsx_hw } */
+/* { dg-require-effective-target vsx_hw } */
 /* { dg-options "-O2 -mvsx" } */
 
 #ifndef CHECK_H
diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovsxbd.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovsxbd.c
index 99cca6150ea4..f3021da4a5c5 100644
--- a/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovsxbd.c
+++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovsxbd.c
@@ -1,5 +1,5 @@ 
 /* { dg-do run } */
-/* { dg-require-effective-target powerpc_vsx_hw } */
+/* { dg-require-effective-target vsx_hw } */
 /* { dg-options "-O2 -mvsx" } */
 
 #ifndef CHECK_H
diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovsxbw.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovsxbw.c
index 805897d929b1..dabd6bcc5758 100644
--- a/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovsxbw.c
+++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovsxbw.c
@@ -1,5 +1,5 @@ 
 /* { dg-do run } */
-/* { dg-require-effective-target powerpc_vsx_hw } */
+/* { dg-require-effective-target vsx_hw } */
 /* { dg-options "-O2 -mvsx" } */
 
 #ifndef CHECK_H
diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovsxwd.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovsxwd.c
index 43f30f024390..e698f287f1ec 100644
--- a/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovsxwd.c
+++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovsxwd.c
@@ -1,5 +1,5 @@ 
 /* { dg-do run } */
-/* { dg-require-effective-target powerpc_vsx_hw } */
+/* { dg-require-effective-target vsx_hw } */
 /* { dg-options "-O2 -mvsx" } */
 
 #ifndef CHECK_H
diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovzxbd.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovzxbd.c
index 643a2a6abf3c..f902ca1f36e8 100644
--- a/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovzxbd.c
+++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovzxbd.c
@@ -1,5 +1,5 @@ 
 /* { dg-do run } */
-/* { dg-require-effective-target powerpc_vsx_hw } */
+/* { dg-require-effective-target vsx_hw } */
 /* { dg-options "-O2 -mvsx" } */
 
 #ifndef CHECK_H
diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovzxbq.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovzxbq.c
index 871f425c80eb..1dbe1265c3d5 100644
--- a/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovzxbq.c
+++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovzxbq.c
@@ -1,5 +1,5 @@ 
 /* { dg-do run } */
-/* { dg-require-effective-target powerpc_vsx_hw } */
+/* { dg-require-effective-target vsx_hw } */
 /* { dg-options "-O2 -mvsx" } */
 
 #ifndef CHECK_H
diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovzxbw.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovzxbw.c
index ee89ebc805fe..8be531fca880 100644
--- a/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovzxbw.c
+++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovzxbw.c
@@ -1,5 +1,5 @@ 
 /* { dg-do run } */
-/* { dg-require-effective-target powerpc_vsx_hw } */
+/* { dg-require-effective-target vsx_hw } */
 /* { dg-options "-O2 -mvsx" } */
 
 #ifndef CHECK_H
diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovzxdq.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovzxdq.c
index 3ec28ab263bc..8154407c3d2e 100644
--- a/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovzxdq.c
+++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovzxdq.c
@@ -1,5 +1,5 @@ 
 /* { dg-do run } */
-/* { dg-require-effective-target powerpc_vsx_hw } */
+/* { dg-require-effective-target vsx_hw } */
 /* { dg-options "-O2 -mvsx" } */
 
 #ifndef CHECK_H
diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovzxwd.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovzxwd.c
index decd9ff7f9ef..77c797bb45be 100644
--- a/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovzxwd.c
+++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovzxwd.c
@@ -1,5 +1,5 @@ 
 /* { dg-do run } */
-/* { dg-require-effective-target powerpc_vsx_hw } */
+/* { dg-require-effective-target vsx_hw } */
 /* { dg-options "-O2 -mvsx" } */
 
 #ifndef CHECK_H
diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovzxwq.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovzxwq.c
index 03830448d173..999542df3737 100644
--- a/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovzxwq.c
+++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-pmovzxwq.c
@@ -1,5 +1,5 @@ 
 /* { dg-do run } */
-/* { dg-require-effective-target powerpc_vsx_hw } */
+/* { dg-require-effective-target vsx_hw } */
 /* { dg-options "-O2 -mvsx" } */
 
 #ifndef CHECK_H
diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_1-pmulld.c b/gcc/testsuite/gcc.target/powerpc/sse4_1-pmulld.c
index 730334366426..43eda16dad15 100644
--- a/gcc/testsuite/gcc.target/powerpc/sse4_1-pmulld.c
+++ b/gcc/testsuite/gcc.target/powerpc/sse4_1-pmulld.c
@@ -1,6 +1,6 @@ 
 /* { dg-do run } */
 /* { dg-options "-O2 -mvsx" } */
-/* { dg-require-effective-target powerpc_vsx_hw } */
+/* { dg-require-effective-target vsx_hw } */
 
 #ifndef CHECK_H
 #define CHECK_H "sse4_1-check.h"
diff --git a/gcc/testsuite/gcc.target/powerpc/sse4_2-pcmpgtq.c b/gcc/testsuite/gcc.target/powerpc/sse4_2-pcmpgtq.c
index a8a6a2010f45..e8ecd9c43c25 100644
--- a/gcc/testsuite/gcc.target/powerpc/sse4_2-pcmpgtq.c
+++ b/gcc/testsuite/gcc.target/powerpc/sse4_2-pcmpgtq.c
@@ -1,6 +1,6 @@ 
 /* { dg-do run } */
 /* { dg-options "-O2 -mvsx" } */
-/* { dg-require-effective-target powerpc_vsx_hw } */
+/* { dg-require-effective-target vsx_hw } */
 
 #ifndef CHECK_H
 #define CHECK_H "sse4_2-check.h"