rs6000/testsuite: Use -mdejagnu-cpu= instead of -mcpu=
authorSegher Boessenkool <segher@kernel.crashing.org>
Fri, 15 May 2020 16:33:20 +0000 (16:33 +0000)
committerSegher Boessenkool <segher@kernel.crashing.org>
Fri, 15 May 2020 19:55:30 +0000 (19:55 +0000)
A bunch of new cases snuck in.

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

gcc/testsuite/
* gcc.target/powerpc/pdep-0.c: Change -mcpu= to -mdejagnu-cpu=.
* gcc.target/powerpc/pdep-1.c: Ditto.
* gcc.target/powerpc/pextd-0.c: Ditto.
* gcc.target/powerpc/pextd-1.c: Ditto.
* gcc.target/powerpc/pr90763.c: Ditto.
* gcc.target/powerpc/pr91275.c: Ditto.
* gcc.target/powerpc/pr92796.c: Ditto.
* gcc.target/powerpc/pr93658.c: Ditto.
* gcc.target/powerpc/pr93800.c: Ditto.
* gcc.target/powerpc/setbceq.c: Ditto.
* gcc.target/powerpc/setbcge.c: Ditto.
* gcc.target/powerpc/setbcgt.c: Ditto.
* gcc.target/powerpc/setbcle.c: Ditto.
* gcc.target/powerpc/setbclt.c: Ditto.
* gcc.target/powerpc/setbcne.c: Ditto.
* gcc.target/powerpc/setnbceq.c: Ditto.
* gcc.target/powerpc/setnbcge.c: Ditto.
* gcc.target/powerpc/setnbcgt.c: Ditto.
* gcc.target/powerpc/setnbcle.c: Ditto.
* gcc.target/powerpc/setnbclt.c: Ditto.
* gcc.target/powerpc/setnbcne.c: Ditto.
* gcc.target/powerpc/xxgenpc-runnable.c: Ditto.

23 files changed:
gcc/testsuite/ChangeLog
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
gcc/testsuite/gcc.target/powerpc/pr90763.c
gcc/testsuite/gcc.target/powerpc/pr91275.c
gcc/testsuite/gcc.target/powerpc/pr92796.c
gcc/testsuite/gcc.target/powerpc/pr93658.c
gcc/testsuite/gcc.target/powerpc/pr93800.c
gcc/testsuite/gcc.target/powerpc/setbceq.c
gcc/testsuite/gcc.target/powerpc/setbcge.c
gcc/testsuite/gcc.target/powerpc/setbcgt.c
gcc/testsuite/gcc.target/powerpc/setbcle.c
gcc/testsuite/gcc.target/powerpc/setbclt.c
gcc/testsuite/gcc.target/powerpc/setbcne.c
gcc/testsuite/gcc.target/powerpc/setnbceq.c
gcc/testsuite/gcc.target/powerpc/setnbcge.c
gcc/testsuite/gcc.target/powerpc/setnbcgt.c
gcc/testsuite/gcc.target/powerpc/setnbcle.c
gcc/testsuite/gcc.target/powerpc/setnbclt.c
gcc/testsuite/gcc.target/powerpc/setnbcne.c
gcc/testsuite/gcc.target/powerpc/xxgenpc-runnable.c

index 0a77dbdf980c0fa25cb0b6ccd58a4660ca226087..5be1848129ef939b884f60b9bfd038e656be0f90 100644 (file)
@@ -1,3 +1,28 @@
+2020-05-15  Segher Boessenkool  <segher@kernel.crashing.org>
+
+       * gcc.target/powerpc/pdep-0.c: Change -mcpu= to -mdejagnu-cpu=.
+       * gcc.target/powerpc/pdep-1.c: Ditto.
+       * gcc.target/powerpc/pextd-0.c: Ditto.
+       * gcc.target/powerpc/pextd-1.c: Ditto.
+       * gcc.target/powerpc/pr90763.c: Ditto.
+       * gcc.target/powerpc/pr91275.c: Ditto.
+       * gcc.target/powerpc/pr92796.c: Ditto.
+       * gcc.target/powerpc/pr93658.c: Ditto.
+       * gcc.target/powerpc/pr93800.c: Ditto.
+       * gcc.target/powerpc/setbceq.c: Ditto.
+       * gcc.target/powerpc/setbcge.c: Ditto.
+       * gcc.target/powerpc/setbcgt.c: Ditto.
+       * gcc.target/powerpc/setbcle.c: Ditto.
+       * gcc.target/powerpc/setbclt.c: Ditto.
+       * gcc.target/powerpc/setbcne.c: Ditto.
+       * gcc.target/powerpc/setnbceq.c: Ditto.
+       * gcc.target/powerpc/setnbcge.c: Ditto.
+       * gcc.target/powerpc/setnbcgt.c: Ditto.
+       * gcc.target/powerpc/setnbcle.c: Ditto.
+       * gcc.target/powerpc/setnbclt.c: Ditto.
+       * gcc.target/powerpc/setnbcne.c: Ditto.
+       * gcc.target/powerpc/xxgenpc-runnable.c: Ditto.
+
 2020-05-15  Patrick Palka  <ppalka@redhat.com>
 
        PR c++/90996
index 5c6afb33169dd4243d263ee80c569a2758fa59d2..bdf90dd8e3754f31987519bc9e02170259d0bd03 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target powerpc64 } */
-/* { dg-options "-mcpu=future" } */
+/* { dg-options "-mdejagnu-cpu=future" } */
 
 extern void abort (void);
 
index 40532ee1177340bc53b30018f1fc11fabc6aecd7..62eb6b2531088c5574523abeb2b631deaf8416cc 100644 (file)
@@ -1,7 +1,7 @@
 /* { dg-do run } */
 /* { dg-require-effective-target powerpc_future_hw } */
 /* { dg-require-effective-target powerpc64 } */
-/* { dg-options "-mcpu=future" } */
+/* { dg-options "-mdejagnu-cpu=future" } */
 
 extern void abort (void);
 
index 23a952dc2c696cfeb6bbb07be10f4df3f0369cef..1a8ccadc2841fecd2c008eeb835966b1b2f86f75 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target powerpc64 } */
-/* { dg-options "-mcpu=future" } */
+/* { dg-options "-mdejagnu-cpu=future" } */
 
 extern void abort (void);
 
index 814ce4325a0383ae6749776340f7f752b7fdab15..462af98353aa2f8983e17b19bd3c12f376853127 100644 (file)
@@ -1,7 +1,7 @@
 /* { dg-do run } */
 /* { dg-require-effective-target powerpc_future_hw } */
 /* { dg-require-effective-target powerpc64 } */
-/* { dg-options "-mcpu=future" } */
+/* { dg-options "-mdejagnu-cpu=future" } */
 
 extern void abort (void);
 
index 55f1d461e8240e21c2e94f110394ee64198afbaf..33a462177e366ae7b951144413c2cc7c4aed8b3a 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-options "-mcpu=power9 -O2" } */
+/* { dg-options "-mdejagnu-cpu=power9 -O2" } */
 
 /* PR90763: PowerPC vec_xl_len should take const.
 */
index bcceec16a0cc55162c40db0596a65b04bfe791f4..39fcd738bc20982f002f46c07238d9ba6cf1705e 100644 (file)
@@ -1,7 +1,7 @@
 /* Test that we generate vpmsumd correctly without a swap error.  */
 
 /* { dg-do run { target { p8vector_hw } } } */
-/* { dg-options "-O2 -std=gnu11 -mcpu=power8" } */
+/* { dg-options "-O2 -std=gnu11 -mdejagnu-cpu=power8" } */
 
 #include <altivec.h>
 
index da4b6a47a6aefe187ea6ce68f33c00f8c363cfdc..1e671e175def48d9ade3c585d961881779cd140a 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -fstack-protector-strong -mcpu=power8" } */
+/* { dg-options "-O2 -fstack-protector-strong -mdejagnu-cpu=power8" } */
 /* { dg-require-effective-target ppc_ieee128_ok } */
 
 typedef union
index 0170d34d2595053d5602457f9d0e242beebfd4cd..d1010ee26b0ec309296a03e633634a2ed5dcdc61 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O3 -fstack-protector-strong -mcpu=power8" } */
+/* { dg-options "-O3 -fstack-protector-strong -mdejagnu-cpu=power8" } */
 /* { dg-require-effective-target powerpc_vsx_ok } */
 
 /* PR93658: Failure compiling this test is an infinite loop in LRA's
index f8dfbe7c0822bd49221f71a2e5d4d2a5cfd9168c..6b0dc76e0f221db9c6a2d56d0cb4e326db95ba32 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-mcpu=860 -O2" } */
+/* { dg-options "-mdejagnu-cpu=860 -O2" } */
 /* { dg-require-effective-target ilp32 } */
 /* { dg-final { scan-assembler-not "\\.p2align 4" } } */
 
index ee3cbffa6f537884c0bff1b1ca8fe4dbd24faed0..32ed03784472fed858a2ec1521b253e5dfae01c7 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -mcpu=future" } */
+/* { dg-options "-O2 -mdejagnu-cpu=future" } */
 
 #define NAME eq
 #define CODE ==
index 06d5815976863f762e616d65b9f78df1ac559af0..809e59b59323a532e7a6a93144c71a8599024f00 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -mcpu=future" } */
+/* { dg-options "-O2 -mdejagnu-cpu=future" } */
 
 #define NAME ge
 #define CODE >=
index 864ae3a7e44df53f0213f9b4cba20aea38f5b33a..79b92efb75495e97710f6c1ca417bfe0d0dae5ce 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -mcpu=future" } */
+/* { dg-options "-O2 -mdejagnu-cpu=future" } */
 
 #define NAME gt
 #define CODE >
index 05df4075b1c540520545853be9a51e69b308926d..91da7d7433540c41ba644cefca47a0def236297f 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -mcpu=future" } */
+/* { dg-options "-O2 -mdejagnu-cpu=future" } */
 
 #define NAME le
 #define CODE <=
index 52ffb1fd7e16e9cf7e1a27c14ac46021c622eddb..add90ced6afdd677a45adfa5bfa4f7e2ac67ddb4 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -mcpu=future" } */
+/* { dg-options "-O2 -mdejagnu-cpu=future" } */
 
 #define NAME lt
 #define CODE <
index 841448ab5e58dbdd89a2c5ee163e6507449e9e4b..5191384aa10c29f8ef428c672aef3b5dc0903065 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -mcpu=future" } */
+/* { dg-options "-O2 -mdejagnu-cpu=future" } */
 
 #define NAME ne
 #define CODE !=
index ff4af8f71fa81aeacb068ba4f719598fedadec77..b97301b90af936ada20c6f5c3607130b45c9cccb 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -mcpu=future" } */
+/* { dg-options "-O2 -mdejagnu-cpu=future" } */
 
 #define NAME eq
 #define CODE ==
index 68ee6bda0d0e2089e5ba3e5b660e0eb8f7afb24c..e13d5d24ff041472779e24a7c689f54ee3a2df28 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -mcpu=future" } */
+/* { dg-options "-O2 -mdejagnu-cpu=future" } */
 
 #define NAME ge
 #define CODE >=
index e0f51d49bd1ddcd8f081f3535bfe2ca460a51a62..7dbd6c0c8f0bf440e441775e1d911aa6e2b7e9b3 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -mcpu=future" } */
+/* { dg-options "-O2 -mdejagnu-cpu=future" } */
 
 #define NAME gt
 #define CODE >
index 33a5da96964ac00bf68796eec3fd43e45f003939..a0d739b2c79be17cef576ee3b3a6c038a091fe03 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -mcpu=future" } */
+/* { dg-options "-O2 -mdejagnu-cpu=future" } */
 
 #define NAME le
 #define CODE <=
index 127d7bfece49e0c5dd8eec138e77de7c8a7dcb24..3f55c382cdbe1969e06608782cd0af72a330c277 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -mcpu=future" } */
+/* { dg-options "-O2 -mdejagnu-cpu=future" } */
 
 #define NAME lt
 #define CODE <
index be1624d6ec2b7ee46dcca54260f3e92e8bae2056..f6a5e94bb2d378e6dbf31b84e0febde57b17a575 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -mcpu=future" } */
+/* { dg-options "-O2 -mdejagnu-cpu=future" } */
 
 #define NAME ne
 #define CODE !=
index de309efd449b354afdb194025982474d595d55ed..199513b4ffb3cae034b99c696d2768dd3baf2548 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do run } */
-/* { dg-options "-mcpu=future -O2" } */
+/* { dg-options "-mdejagnu-cpu=future -O2" } */
 /* { dg-require-effective-target powerpc_future_hw } */
 
 #include <altivec.h>