rs6000/testsuite: Don't use powerpc64 effective target
authorSegher Boessenkool <segher@kernel.crashing.org>
Fri, 15 May 2020 16:41:28 +0000 (16:41 +0000)
committerSegher Boessenkool <segher@kernel.crashing.org>
Fri, 15 May 2020 19:57:25 +0000 (19:57 +0000)
The powerpc64 effective target unfortunately does not mean the target
has 64-bit instructions enabled (i.e., -mpowerpc64): instead, it means
that the assembler supports it.

Let's use the lp64 effective target instead for these tests.

2020-05-15  Segher Boessenkool  <segher@kernel.crashing.org>

gcc/testsuite/
* gcc.target/powerpc/cntlzdm-0.c: Use lp64 instead of powerpc64.
* gcc.target/powerpc/cntlzdm-1.c: Ditto.
* gcc.target/powerpc/cnttzdm-1.c: Ditto.
* gcc.target/powerpc/pdep-0.c: Ditto.
* gcc.target/powerpc/pdep-1.c: Ditto.
* gcc.target/powerpc/pextd-0.c: Ditto.
* gcc.target/powerpc/pextd-1.c: Ditto.

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/cntlzdm-0.c
gcc/testsuite/gcc.target/powerpc/cntlzdm-1.c
gcc/testsuite/gcc.target/powerpc/cnttzdm-1.c
gcc/testsuite/gcc.target/powerpc/pdep-0.c
gcc/testsuite/gcc.target/powerpc/pdep-1.c
gcc/testsuite/gcc.target/powerpc/pextd-0.c
gcc/testsuite/gcc.target/powerpc/pextd-1.c

index 5be1848129ef939b884f60b9bfd038e656be0f90..d247f90baa097f8a5476e623ebd2face4d0851b8 100644 (file)
@@ -1,3 +1,13 @@
+2020-05-15  Segher Boessenkool  <segher@kernel.crashing.org>
+
+       * gcc.target/powerpc/cntlzdm-0.c: Use lp64 instead of powerpc64.
+       * gcc.target/powerpc/cntlzdm-1.c: Ditto.
+       * gcc.target/powerpc/cnttzdm-1.c: Ditto.
+       * gcc.target/powerpc/pdep-0.c: Ditto.
+       * gcc.target/powerpc/pdep-1.c: Ditto.
+       * gcc.target/powerpc/pextd-0.c: Ditto.
+       * gcc.target/powerpc/pextd-1.c: Ditto.
+
 2020-05-15  Segher Boessenkool  <segher@kernel.crashing.org>
 
        * gcc.target/powerpc/pdep-0.c: Change -mcpu= to -mdejagnu-cpu=.
index 8cdd261c0a73ce4785af94e34752abaa85c6988a..45e7d78e63651c1cd346540984e7ad24bb7589f1 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-require-effective-target powerpc64 } */
+/* { dg-require-effective-target lp64 } */
 /* { dg-options "-mdejagnu-cpu=future" } */
 
 extern void abort (void);
index d5a087f911978c01a44b07f06ef682c734364b51..3239c386bb7b433bff1bcf0998e0f52796757628 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do run } */
 /* { dg-require-effective-target powerpc_future_hw } */
-/* { dg-require-effective-target powerpc64 } */
+/* { dg-require-effective-target lp64 } */
 /* { dg-options "-mdejagnu-cpu=future" } */
 
 extern void abort (void);
index cb1197616593c3c6e4a6c970b9c93761c3d1c7a6..d04b1192d152ea64da8204d93a647c62bd925494 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do run } */
 /* { dg-require-effective-target powerpc_future_hw } */
-/* { dg-require-effective-target powerpc64 } */
+/* { dg-require-effective-target lp64 } */
 /* { dg-options "-mdejagnu-cpu=future" } */
 
 extern void abort (void);
index bdf90dd8e3754f31987519bc9e02170259d0bd03..b75b2a85229ba54d7c0cb9ec9b70b8b46c9487f0 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target powerpc64 } */
+/* { dg-require-effective-target lp64 } */
 /* { dg-options "-mdejagnu-cpu=future" } */
 
 extern void abort (void);
index 62eb6b2531088c5574523abeb2b631deaf8416cc..e2c7615ca348a7ea8e74f4f291977a41559ca10c 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do run } */
 /* { dg-require-effective-target powerpc_future_hw } */
-/* { dg-require-effective-target powerpc64 } */
+/* { dg-require-effective-target lp64 } */
 /* { dg-options "-mdejagnu-cpu=future" } */
 
 extern void abort (void);
index 1a8ccadc2841fecd2c008eeb835966b1b2f86f75..47a230d72f35ec4886a38b630b61bcce1f2c1f14 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target powerpc64 } */
+/* { dg-require-effective-target lp64 } */
 /* { dg-options "-mdejagnu-cpu=future" } */
 
 extern void abort (void);
index 462af98353aa2f8983e17b19bd3c12f376853127..004d2dd7e43d176273e04a07852cfd8ef874746d 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do run } */
 /* { dg-require-effective-target powerpc_future_hw } */
-/* { dg-require-effective-target powerpc64 } */
+/* { dg-require-effective-target lp64 } */
 /* { dg-options "-mdejagnu-cpu=future" } */
 
 extern void abort (void);