testsuite: Remove dg-skip SPE.
Remove testsuite directives to skip SPE and SPE specific tests. gcc/testsuite/ChangeLog 2020-06-30 David Edelsohn <dje.gcc@gmail.com> * gcc.target/powerpc/20030218-1.c: Delete. * gcc.target/powerpc/20030505.c: Delete. * gcc.target/powerpc/20081204-1.c: Delete. * gcc.target/powerpc/bcd-1.c: Remove dg-skip-if SPE. * gcc.target/powerpc/bcd-2.c: Same. * gcc.target/powerpc/bcd-3.c: Same. * gcc.target/powerpc/direct-move-double1.c: Same. * gcc.target/powerpc/direct-move-double2.c: Same. * gcc.target/powerpc/direct-move-float1.c: Same. * gcc.target/powerpc/direct-move-float2.c: Same. * gcc.target/powerpc/direct-move-float3.c: Same. * gcc.target/powerpc/direct-move-long1.c: Same. * gcc.target/powerpc/direct-move-long2.c: Same. * gcc.target/powerpc/direct-move-vint1.c: Same. * gcc.target/powerpc/direct-move-vint2.c: Same. * gcc.target/powerpc/extend-divide-1.c: Same. * gcc.target/powerpc/extend-divide-2.c: Same. * gcc.target/powerpc/pack01.c: Same. * gcc.target/powerpc/pack02.c: Same. * gcc.target/powerpc/pack03.c: Same. * gcc.target/powerpc/pr52457.c: Same. * gcc.target/powerpc/pr88845.c: Same. * gcc.target/powerpc/quad-atomic.c: Same. * gcc.target/powerpc/recip-6.c: Same. * gcc.target/powerpc/recip-7.c: Same.
This commit is contained in:
parent
34c8c2139f
commit
bc561b0ed2
@ -1,26 +0,0 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-mdejagnu-cpu=8540 -mspe -mabi=spe -mfloat-gprs=single" } */
|
||||
/* { dg-skip-if "not an SPE target" { ! powerpc_spe_nocache } } */
|
||||
|
||||
/* Test vectors that can interconvert without a cast. */
|
||||
|
||||
__ev64_opaque__ opp;
|
||||
int vint __attribute__((vector_size (8)));
|
||||
short vshort __attribute__((vector_size (8)));
|
||||
float vfloat __attribute__((vector_size (8)));
|
||||
|
||||
int
|
||||
main (void)
|
||||
{
|
||||
__ev64_opaque__ george = { 1, 2 }; /* { dg-error "opaque vector types cannot be initialized" } */
|
||||
|
||||
opp = vfloat;
|
||||
vshort = opp;
|
||||
vfloat = vshort; /* { dg-error "incompatible types when assigning" } */
|
||||
|
||||
/* Just because this is a V2SI, it doesn't make it an opaque. */
|
||||
vint = vshort; /* { dg-message "note: use -flax-vector-conversions to permit conversions between vectors with differing element types or numbers of subparts" } */
|
||||
/* { dg-error "incompatible types when assigning" "" { target *-*-* } .-1 } */
|
||||
|
||||
return 0;
|
||||
}
|
@ -1,21 +0,0 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-W -mdejagnu-cpu=8540 -mspe -mabi=spe -mfloat-gprs=single" } */
|
||||
/* { dg-skip-if "not an SPE target" { ! powerpc_spe_nocache } } */
|
||||
|
||||
#define __vector __attribute__((vector_size(8)))
|
||||
|
||||
typedef float __vector __ev64_fs__;
|
||||
|
||||
__ev64_opaque__ *p1;
|
||||
__ev64_fs__ *p2;
|
||||
int *x;
|
||||
|
||||
extern void f (__ev64_opaque__ *); /* { dg-message "expected.*but argument is of type" } */
|
||||
|
||||
int main ()
|
||||
{
|
||||
f (x); /* { dg-warning "incompatible pointer type" } */
|
||||
f (p1);
|
||||
f (p2);
|
||||
return 0;
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
/* Test for ICE arising from inconsistent use of TARGET_E500 versus
|
||||
TARGET_HARD_FLOAT && !TARGET_FPRS. */
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-mdejagnu-cpu=750 -mfloat-gprs=single" } */
|
||||
/* { dg-skip-if "not an SPE target" { ! powerpc_spe_nocache } } */
|
||||
|
||||
static int comp(const void *a,const void *b){
|
||||
return (*(float *)a<*(float *)b)-(*(float *)a>*(float *)b);
|
||||
}
|
@ -1,6 +1,5 @@
|
||||
/* { dg-do compile { target { powerpc*-*-linux* } } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-darwin* } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-*spe* } } */
|
||||
/* { dg-require-effective-target powerpc_vsx_ok } */
|
||||
/* { dg-options "-mdejagnu-cpu=power7 -O2" } */
|
||||
/* { dg-final { scan-assembler-times "cdtbcd " 1 } } */
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* { dg-do compile { target { powerpc*-*-linux* && lp64 } } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-darwin* } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-*spe* } } */
|
||||
/* { dg-require-effective-target powerpc_p8vector_ok } */
|
||||
/* { dg-options "-mdejagnu-cpu=power8 -O2" } */
|
||||
/* { dg-final { scan-assembler-times "bcdadd\[.\] " 2 } } */
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* { dg-do compile { target { powerpc*-*-linux* && lp64 } } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-darwin* } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-*spe* } } */
|
||||
/* { dg-require-effective-target powerpc_p8vector_ok } */
|
||||
/* { dg-options "-mdejagnu-cpu=power8 -O2" } */
|
||||
/* { dg-final { scan-assembler-times "bcdadd\[.\] " 4 } } */
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* { dg-do compile { target { powerpc*-*-linux* && lp64 } } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-darwin* } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-*spe* } } */
|
||||
/* { dg-require-effective-target powerpc_p8vector_ok } */
|
||||
/* { dg-options "-mdejagnu-cpu=power8 -O2" } */
|
||||
/* { dg-final { scan-assembler "mtvsrd" } } */
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* { dg-do run { target { powerpc*-*-linux* && lp64 } } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-darwin* } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-*spe* } } */
|
||||
/* { dg-require-effective-target p8vector_hw } */
|
||||
/* { dg-options "-mdejagnu-cpu=power8 -O2" } */
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* { dg-do compile { target { powerpc*-*-linux* && lp64 } } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-darwin* } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-*spe* } } */
|
||||
/* { dg-require-effective-target powerpc_p8vector_ok } */
|
||||
/* { dg-options "-mdejagnu-cpu=power8 -O2" } */
|
||||
/* { dg-final { scan-assembler {\mmtvsrd\M} } } */
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* { dg-do run { target { powerpc*-*-linux* && lp64 } } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-darwin* } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-*spe* } } */
|
||||
/* { dg-require-effective-target p8vector_hw } */
|
||||
/* { dg-options "-mdejagnu-cpu=power8 -O2" } */
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* { dg-do compile { target { powerpc*-*-linux* && lp64 } } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-darwin* } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-*spe* } } */
|
||||
/* { dg-require-effective-target powerpc_p8vector_ok } */
|
||||
/* { dg-options "-mpower8-vector -O2" } */
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* { dg-do compile { target { powerpc*-*-linux* && lp64 } } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-darwin* } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-*spe* } } */
|
||||
/* { dg-require-effective-target powerpc_p8vector_ok } */
|
||||
/* { dg-options "-mdejagnu-cpu=power8 -O2" } */
|
||||
/* { dg-final { scan-assembler "mtvsrd" } } */
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* { dg-do run { target { powerpc*-*-linux* && lp64 } } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-darwin* } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-*spe* } } */
|
||||
/* { dg-require-effective-target p8vector_hw } */
|
||||
/* { dg-options "-mdejagnu-cpu=power8 -O2" } */
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* { dg-do compile { target { powerpc*-*-linux* && lp64 } } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-darwin* } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-*spe* } } */
|
||||
/* { dg-require-effective-target powerpc_p8vector_ok } */
|
||||
/* { dg-options "-mdejagnu-cpu=power8 -O2" } */
|
||||
/* { dg-final { scan-assembler "mtvsrd" } } */
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* { dg-do run { target { powerpc*-*-linux* && lp64 } } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-darwin* } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-*spe* } } */
|
||||
/* { dg-require-effective-target p8vector_hw } */
|
||||
/* { dg-options "-mdejagnu-cpu=power8 -O2" } */
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* { dg-do compile { target { powerpc*-*-linux* } } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-darwin* } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-*spe* } } */
|
||||
/* { dg-require-effective-target powerpc_vsx_ok } */
|
||||
/* { dg-options "-mdejagnu-cpu=power7 -O2" } */
|
||||
/* { dg-final { scan-assembler-times "divwe " 1 } } */
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* { dg-do compile { target { powerpc*-*-linux* && lp64 } } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-darwin* } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-*spe* } } */
|
||||
/* { dg-require-effective-target powerpc_vsx_ok } */
|
||||
/* { dg-options "-mdejagnu-cpu=power7 -O2" } */
|
||||
/* { dg-final { scan-assembler-times "divde " 1 } } */
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* { dg-do run { target { powerpc*-*-linux* && lp64 } } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-darwin* } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-*spe* } } */
|
||||
/* { dg-require-effective-target p8vector_hw } */
|
||||
/* { dg-options "-mdejagnu-cpu=power8 -O2" } */
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* { dg-do run { target { powerpc*-*-linux* } } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-darwin* } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-*spe* } } */
|
||||
/* { dg-require-effective-target powerpc_fprs } */
|
||||
/* { dg-require-effective-target longdouble128 } */
|
||||
/* { dg-options "-O2 -mhard-float" } */
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* { dg-do run { target { powerpc*-*-linux* } } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-darwin* } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-*spe* } } */
|
||||
/* { dg-require-effective-target dfp_hw } */
|
||||
/* { dg-options "-O2 -mhard-dfp" } */
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* { dg-do run { target { powerpc*-*-linux* } } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-darwin* } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-*spe* } } */
|
||||
/* { dg-require-effective-target vsx_hw } */
|
||||
/* { dg-options "-O1 -mdejagnu-cpu=power7" } */
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* { dg-do compile { target powerpc*-*-linux* } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-darwin* } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-*spe* } } */
|
||||
/* { dg-require-effective-target powerpc_p8vector_ok } */
|
||||
/* { dg-options "-mdejagnu-cpu=power8 -O2" } */
|
||||
/* { dg-final { scan-assembler {\mmtvsrd\M} { target { lp64 } } } } */
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* { dg-do run { target { powerpc*-*-linux* && lp64 } } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-darwin* } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-*spe* } } */
|
||||
/* { dg-require-effective-target p8vector_hw } */
|
||||
/* { dg-options "-mdejagnu-cpu=power8 -O2 -Wno-shift-overflow" } */
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* { dg-do run { target { powerpc*-*-linux* powerpc*-ibm-aix* } } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-darwin* } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-*spe* } } */
|
||||
/* { dg-require-effective-target vsx_hw } */
|
||||
/* { dg-options "-mdejagnu-cpu=power7 -O3 -ftree-vectorize -ffast-math -mrecip=all -mrecip-precision" } */
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* { dg-do run { target { powerpc*-*-linux* powerpc*-ibm-aix* } } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-darwin* } } */
|
||||
/* { dg-skip-if "" { powerpc*-*-*spe* } } */
|
||||
/* { dg-require-effective-target ppc_recip_hw } */
|
||||
/* { dg-options "-O3 -ftree-vectorize -ffast-math -mrecip -mpowerpc-gfxopt -mpowerpc-gpopt -mpopcntb" } */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user