testsuite: Remove dg-skip SPE.
authorDavid Edelsohn <dje.gcc@gmail.com>
Wed, 1 Jul 2020 01:49:57 +0000 (21:49 -0400)
committerDavid Edelsohn <dje.gcc@gmail.com>
Wed, 1 Jul 2020 01:56:38 +0000 (21:56 -0400)
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.

25 files changed:
gcc/testsuite/gcc.target/powerpc/20030218-1.c [deleted file]
gcc/testsuite/gcc.target/powerpc/20030505.c [deleted file]
gcc/testsuite/gcc.target/powerpc/20081204-1.c [deleted file]
gcc/testsuite/gcc.target/powerpc/bcd-1.c
gcc/testsuite/gcc.target/powerpc/bcd-2.c
gcc/testsuite/gcc.target/powerpc/bcd-3.c
gcc/testsuite/gcc.target/powerpc/direct-move-double1.c
gcc/testsuite/gcc.target/powerpc/direct-move-double2.c
gcc/testsuite/gcc.target/powerpc/direct-move-float1.c
gcc/testsuite/gcc.target/powerpc/direct-move-float2.c
gcc/testsuite/gcc.target/powerpc/direct-move-float3.c
gcc/testsuite/gcc.target/powerpc/direct-move-long1.c
gcc/testsuite/gcc.target/powerpc/direct-move-long2.c
gcc/testsuite/gcc.target/powerpc/direct-move-vint1.c
gcc/testsuite/gcc.target/powerpc/direct-move-vint2.c
gcc/testsuite/gcc.target/powerpc/extend-divide-1.c
gcc/testsuite/gcc.target/powerpc/extend-divide-2.c
gcc/testsuite/gcc.target/powerpc/pack01.c
gcc/testsuite/gcc.target/powerpc/pack02.c
gcc/testsuite/gcc.target/powerpc/pack03.c
gcc/testsuite/gcc.target/powerpc/pr52457.c
gcc/testsuite/gcc.target/powerpc/pr88845.c
gcc/testsuite/gcc.target/powerpc/quad-atomic.c
gcc/testsuite/gcc.target/powerpc/recip-6.c
gcc/testsuite/gcc.target/powerpc/recip-7.c

diff --git a/gcc/testsuite/gcc.target/powerpc/20030218-1.c b/gcc/testsuite/gcc.target/powerpc/20030218-1.c
deleted file mode 100644 (file)
index 6783052..0000000
+++ /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 (file)
index bd79946..0000000
+++ /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 (file)
index 98332ec..0000000
+++ /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);
-}
index 1a086eb362092ade9b2bd6d4a43331e06515e80a..00a6f84c3d897fdea3463e35a989710be6b24129 100644 (file)
@@ -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 } } */
index b623064b90acb438f844ae2710c3168db4eec3cc..2f51dee257f577ab44fba46f9938ab5dc784faf9 100644 (file)
@@ -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 } } */
index d77170fe85d1fc4c40d38c6faed7e1343cb3a43a..1b20841ae1c33c9fab1e25ac711358a1613b4a7b 100644 (file)
@@ -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 } } */
index 13f01921869eab4c98e579aa1fd6e47219c17377..c8cf228ca1aca034259c6c2707f59f9266a635f2 100644 (file)
@@ -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" } } */
index 23e3423ead752e94c8e401b2acb6a8f14324d390..f376d49ea289a02108dc69f915da8423d9162600 100644 (file)
@@ -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" } */
 
index 63ab59167c8ca2897513ac6f63595bfa5bdd3a4b..4c86735babaeb84d4cb5ed136cab388f2596e312 100644 (file)
@@ -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}    } } */
index 666b2921fdcf9aac3f44084d3cfb3c0a0ad9a625..5023bbf4aa9ef91cecb71309bcb3676331e7430a 100644 (file)
@@ -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" } */
 
index 6e294aabdf792fe3c93d6ec2f775e24d22670bee..213c69637868fd9ac5c7206e383befd87278ca3d 100644 (file)
@@ -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" } */
 
index 1a9bdd8eba2b3731a94aa3389c957a6ef79788c0..69f3b2ea29dbdc05d2cd3fdfa929cd914aee6b09 100644 (file)
@@ -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" } } */
index d0a4cfec71cacfb0ac9b13f33eae9043010d0cb0..bd508489444edb7e19dba65cd12f49c22dd36846 100644 (file)
@@ -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" } */
 
index fa9d6606242a1d4ab1d7b21d173a3d16982b0bc8..0ea2960b785d76a6c81fa2b9184437875ebab731 100644 (file)
@@ -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" } } */
index b813ad4e2f6c5309fb92176564f0fda80f9fd474..659941f8848d5b40a0532bf9fbbf9d9a48d2a381 100644 (file)
@@ -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" } */
 
index 35efb25fa65520bff7b5b68c8c3fbf66518015d4..b648efd8a40b6deb212ee87522100545837149d5 100644 (file)
@@ -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 } } */
index 623a5dee066d1ddbf0cb30d51388685ecd9328d4..5b1aaa71e9318f0c6f2f6b0fdc4900914db391fd 100644 (file)
@@ -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 } } */
index bc4c03b152486bc4177cc85237b1881dc3707139..fc1dd5059518ad39e0ab5628ce7acf1dcdcad22e 100644 (file)
@@ -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" } */
 
index 2cc2396235b1a21b730a3ddef48f6f7009b8cce0..07d3ba0c3906ef86976dda4c837a02c9754aadc3 100644 (file)
@@ -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" } */
index f6e994388c0b4e64baa6e33fb520b319af1df570..0295a974cfb00d03a66b75e7a2c964dc38d4aadb 100644 (file)
@@ -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" } */
 
index ed89daad9df709f4f69f6372fbef4cc755f07dfc..be8e8f16d3e2b5971e89d03e9c3f467ae68d56b5 100644 (file)
@@ -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" } */
 
index a939fa950bf6a94f20a3be7f0c0fd95f0aa4565f..f3d02c5a52dbf0cc44c6ff46321bc1c4138909ea 100644 (file)
@@ -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 } } } } */
index f48ff5f67b1184352eb296ae5fd317a36e66e275..0849e5eeaa2f59ea88e555d4a7ed2f21084d50d4 100644 (file)
@@ -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" } */
 
index 3748dbfdb085ee501f0c1ff9e413913a65975094..151dd6f88d46abc668b5ca4c5ebfbc1a33ac305d 100644 (file)
@@ -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" } */
 
index 8841e9e11e8993734cf1f7d56c6ee448d031b246..12b1e9cd6f9e6c66cf316f9ef26df71dd8064be7 100644 (file)
@@ -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" } */