From: David Edelsohn Date: Wed, 1 Jul 2020 01:49:57 +0000 (-0400) Subject: testsuite: Remove dg-skip SPE. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bc561b0ed2f347acaafb6cf92774815cd8d7d3e7;p=gcc.git testsuite: Remove dg-skip SPE. Remove testsuite directives to skip SPE and SPE specific tests. gcc/testsuite/ChangeLog 2020-06-30 David Edelsohn * 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. --- diff --git a/gcc/testsuite/gcc.target/powerpc/20030218-1.c b/gcc/testsuite/gcc.target/powerpc/20030218-1.c deleted file mode 100644 index 6783052029c..00000000000 --- a/gcc/testsuite/gcc.target/powerpc/20030218-1.c +++ /dev/null @@ -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; -} diff --git a/gcc/testsuite/gcc.target/powerpc/20030505.c b/gcc/testsuite/gcc.target/powerpc/20030505.c deleted file mode 100644 index bd7994654a0..00000000000 --- a/gcc/testsuite/gcc.target/powerpc/20030505.c +++ /dev/null @@ -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; -} diff --git a/gcc/testsuite/gcc.target/powerpc/20081204-1.c b/gcc/testsuite/gcc.target/powerpc/20081204-1.c deleted file mode 100644 index 98332ec9673..00000000000 --- a/gcc/testsuite/gcc.target/powerpc/20081204-1.c +++ /dev/null @@ -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); -} diff --git a/gcc/testsuite/gcc.target/powerpc/bcd-1.c b/gcc/testsuite/gcc.target/powerpc/bcd-1.c index 1a086eb3620..00a6f84c3d8 100644 --- a/gcc/testsuite/gcc.target/powerpc/bcd-1.c +++ b/gcc/testsuite/gcc.target/powerpc/bcd-1.c @@ -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 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/bcd-2.c b/gcc/testsuite/gcc.target/powerpc/bcd-2.c index b623064b90a..2f51dee257f 100644 --- a/gcc/testsuite/gcc.target/powerpc/bcd-2.c +++ b/gcc/testsuite/gcc.target/powerpc/bcd-2.c @@ -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 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/bcd-3.c b/gcc/testsuite/gcc.target/powerpc/bcd-3.c index d77170fe85d..1b20841ae1c 100644 --- a/gcc/testsuite/gcc.target/powerpc/bcd-3.c +++ b/gcc/testsuite/gcc.target/powerpc/bcd-3.c @@ -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 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/direct-move-double1.c b/gcc/testsuite/gcc.target/powerpc/direct-move-double1.c index 13f01921869..c8cf228ca1a 100644 --- a/gcc/testsuite/gcc.target/powerpc/direct-move-double1.c +++ b/gcc/testsuite/gcc.target/powerpc/direct-move-double1.c @@ -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" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/direct-move-double2.c b/gcc/testsuite/gcc.target/powerpc/direct-move-double2.c index 23e3423ead7..f376d49ea28 100644 --- a/gcc/testsuite/gcc.target/powerpc/direct-move-double2.c +++ b/gcc/testsuite/gcc.target/powerpc/direct-move-double2.c @@ -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" } */ diff --git a/gcc/testsuite/gcc.target/powerpc/direct-move-float1.c b/gcc/testsuite/gcc.target/powerpc/direct-move-float1.c index 63ab59167c8..4c86735baba 100644 --- a/gcc/testsuite/gcc.target/powerpc/direct-move-float1.c +++ b/gcc/testsuite/gcc.target/powerpc/direct-move-float1.c @@ -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} } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/direct-move-float2.c b/gcc/testsuite/gcc.target/powerpc/direct-move-float2.c index 666b2921fdc..5023bbf4aa9 100644 --- a/gcc/testsuite/gcc.target/powerpc/direct-move-float2.c +++ b/gcc/testsuite/gcc.target/powerpc/direct-move-float2.c @@ -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" } */ diff --git a/gcc/testsuite/gcc.target/powerpc/direct-move-float3.c b/gcc/testsuite/gcc.target/powerpc/direct-move-float3.c index 6e294aabdf7..213c6963786 100644 --- a/gcc/testsuite/gcc.target/powerpc/direct-move-float3.c +++ b/gcc/testsuite/gcc.target/powerpc/direct-move-float3.c @@ -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" } */ diff --git a/gcc/testsuite/gcc.target/powerpc/direct-move-long1.c b/gcc/testsuite/gcc.target/powerpc/direct-move-long1.c index 1a9bdd8eba2..69f3b2ea29d 100644 --- a/gcc/testsuite/gcc.target/powerpc/direct-move-long1.c +++ b/gcc/testsuite/gcc.target/powerpc/direct-move-long1.c @@ -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" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/direct-move-long2.c b/gcc/testsuite/gcc.target/powerpc/direct-move-long2.c index d0a4cfec71c..bd508489444 100644 --- a/gcc/testsuite/gcc.target/powerpc/direct-move-long2.c +++ b/gcc/testsuite/gcc.target/powerpc/direct-move-long2.c @@ -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" } */ diff --git a/gcc/testsuite/gcc.target/powerpc/direct-move-vint1.c b/gcc/testsuite/gcc.target/powerpc/direct-move-vint1.c index fa9d6606242..0ea2960b785 100644 --- a/gcc/testsuite/gcc.target/powerpc/direct-move-vint1.c +++ b/gcc/testsuite/gcc.target/powerpc/direct-move-vint1.c @@ -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" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/direct-move-vint2.c b/gcc/testsuite/gcc.target/powerpc/direct-move-vint2.c index b813ad4e2f6..659941f8848 100644 --- a/gcc/testsuite/gcc.target/powerpc/direct-move-vint2.c +++ b/gcc/testsuite/gcc.target/powerpc/direct-move-vint2.c @@ -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" } */ diff --git a/gcc/testsuite/gcc.target/powerpc/extend-divide-1.c b/gcc/testsuite/gcc.target/powerpc/extend-divide-1.c index 35efb25fa65..b648efd8a40 100644 --- a/gcc/testsuite/gcc.target/powerpc/extend-divide-1.c +++ b/gcc/testsuite/gcc.target/powerpc/extend-divide-1.c @@ -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 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/extend-divide-2.c b/gcc/testsuite/gcc.target/powerpc/extend-divide-2.c index 623a5dee066..5b1aaa71e93 100644 --- a/gcc/testsuite/gcc.target/powerpc/extend-divide-2.c +++ b/gcc/testsuite/gcc.target/powerpc/extend-divide-2.c @@ -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 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/pack01.c b/gcc/testsuite/gcc.target/powerpc/pack01.c index bc4c03b1524..fc1dd505951 100644 --- a/gcc/testsuite/gcc.target/powerpc/pack01.c +++ b/gcc/testsuite/gcc.target/powerpc/pack01.c @@ -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" } */ diff --git a/gcc/testsuite/gcc.target/powerpc/pack02.c b/gcc/testsuite/gcc.target/powerpc/pack02.c index 2cc2396235b..07d3ba0c390 100644 --- a/gcc/testsuite/gcc.target/powerpc/pack02.c +++ b/gcc/testsuite/gcc.target/powerpc/pack02.c @@ -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" } */ diff --git a/gcc/testsuite/gcc.target/powerpc/pack03.c b/gcc/testsuite/gcc.target/powerpc/pack03.c index f6e994388c0..0295a974cfb 100644 --- a/gcc/testsuite/gcc.target/powerpc/pack03.c +++ b/gcc/testsuite/gcc.target/powerpc/pack03.c @@ -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" } */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr52457.c b/gcc/testsuite/gcc.target/powerpc/pr52457.c index ed89daad9df..be8e8f16d3e 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr52457.c +++ b/gcc/testsuite/gcc.target/powerpc/pr52457.c @@ -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" } */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr88845.c b/gcc/testsuite/gcc.target/powerpc/pr88845.c index a939fa950bf..f3d02c5a52d 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr88845.c +++ b/gcc/testsuite/gcc.target/powerpc/pr88845.c @@ -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 } } } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/quad-atomic.c b/gcc/testsuite/gcc.target/powerpc/quad-atomic.c index f48ff5f67b1..0849e5eeaa2 100644 --- a/gcc/testsuite/gcc.target/powerpc/quad-atomic.c +++ b/gcc/testsuite/gcc.target/powerpc/quad-atomic.c @@ -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" } */ diff --git a/gcc/testsuite/gcc.target/powerpc/recip-6.c b/gcc/testsuite/gcc.target/powerpc/recip-6.c index 3748dbfdb08..151dd6f88d4 100644 --- a/gcc/testsuite/gcc.target/powerpc/recip-6.c +++ b/gcc/testsuite/gcc.target/powerpc/recip-6.c @@ -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" } */ diff --git a/gcc/testsuite/gcc.target/powerpc/recip-7.c b/gcc/testsuite/gcc.target/powerpc/recip-7.c index 8841e9e11e8..12b1e9cd6f9 100644 --- a/gcc/testsuite/gcc.target/powerpc/recip-7.c +++ b/gcc/testsuite/gcc.target/powerpc/recip-7.c @@ -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" } */