rs6000/testsuite: Use -mdejagnu-cpu= instead of -mcpu=

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.
This commit is contained in:
Segher Boessenkool 2020-05-15 16:33:20 +00:00
parent 289fbbe75f
commit b8079176c9
23 changed files with 47 additions and 22 deletions

View 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

View 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);

View 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);

View 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);

View 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);

View 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.
*/

View 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>

View 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

View 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

View 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" } } */

View File

@ -1,5 +1,5 @@
/* { dg-do compile } */
/* { dg-options "-O2 -mcpu=future" } */
/* { dg-options "-O2 -mdejagnu-cpu=future" } */
#define NAME eq
#define CODE ==

View File

@ -1,5 +1,5 @@
/* { dg-do compile } */
/* { dg-options "-O2 -mcpu=future" } */
/* { dg-options "-O2 -mdejagnu-cpu=future" } */
#define NAME ge
#define CODE >=

View File

@ -1,5 +1,5 @@
/* { dg-do compile } */
/* { dg-options "-O2 -mcpu=future" } */
/* { dg-options "-O2 -mdejagnu-cpu=future" } */
#define NAME gt
#define CODE >

View File

@ -1,5 +1,5 @@
/* { dg-do compile } */
/* { dg-options "-O2 -mcpu=future" } */
/* { dg-options "-O2 -mdejagnu-cpu=future" } */
#define NAME le
#define CODE <=

View File

@ -1,5 +1,5 @@
/* { dg-do compile } */
/* { dg-options "-O2 -mcpu=future" } */
/* { dg-options "-O2 -mdejagnu-cpu=future" } */
#define NAME lt
#define CODE <

View File

@ -1,5 +1,5 @@
/* { dg-do compile } */
/* { dg-options "-O2 -mcpu=future" } */
/* { dg-options "-O2 -mdejagnu-cpu=future" } */
#define NAME ne
#define CODE !=

View File

@ -1,5 +1,5 @@
/* { dg-do compile } */
/* { dg-options "-O2 -mcpu=future" } */
/* { dg-options "-O2 -mdejagnu-cpu=future" } */
#define NAME eq
#define CODE ==

View File

@ -1,5 +1,5 @@
/* { dg-do compile } */
/* { dg-options "-O2 -mcpu=future" } */
/* { dg-options "-O2 -mdejagnu-cpu=future" } */
#define NAME ge
#define CODE >=

View File

@ -1,5 +1,5 @@
/* { dg-do compile } */
/* { dg-options "-O2 -mcpu=future" } */
/* { dg-options "-O2 -mdejagnu-cpu=future" } */
#define NAME gt
#define CODE >

View File

@ -1,5 +1,5 @@
/* { dg-do compile } */
/* { dg-options "-O2 -mcpu=future" } */
/* { dg-options "-O2 -mdejagnu-cpu=future" } */
#define NAME le
#define CODE <=

View File

@ -1,5 +1,5 @@
/* { dg-do compile } */
/* { dg-options "-O2 -mcpu=future" } */
/* { dg-options "-O2 -mdejagnu-cpu=future" } */
#define NAME lt
#define CODE <

View File

@ -1,5 +1,5 @@
/* { dg-do compile } */
/* { dg-options "-O2 -mcpu=future" } */
/* { dg-options "-O2 -mdejagnu-cpu=future" } */
#define NAME ne
#define CODE !=

View 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>