rs6000: Fix gcc.target/powerpc testsuite target requirements.
authorDavid Edelsohn <dje.gcc@gmail.com>
Sun, 28 Jun 2020 00:44:24 +0000 (20:44 -0400)
committerDavid Edelsohn <dje.gcc@gmail.com>
Tue, 30 Jun 2020 18:52:01 +0000 (14:52 -0400)
gcc/testsuite/ChangeLog

2020-06-30  David Edelsohn  <dje.gcc@gmail.com>

* gcc.target/powerpc/builtins-1-p9-runnable.c: Fix target requirements.
* gcc.target/powerpc/builtins-1.c: Same.
* gcc.target/powerpc/builtins-2-p9-runnable.c: Same.
* gcc.target/powerpc/builtins-2.c: Same.
* gcc.target/powerpc/builtins-3-p9-runnable.c: Same.
* gcc.target/powerpc/builtins-3-p9.c: Same.
* gcc.target/powerpc/builtins-3-runnable-p8.c: Same.
* gcc.target/powerpc/builtins-3.c: Same.
* gcc.target/powerpc/builtins-4-p9-runnable.c: Same.
* gcc.target/powerpc/builtins-4.c: Same.
* gcc.target/powerpc/builtins-5-p9-runnable.c: Same.
* gcc.target/powerpc/builtins-5.c: Same.
* gcc.target/powerpc/builtins-6-p9-runnable.c: Same.
* gcc.target/powerpc/builtins-6-runnable.c: Same.
* gcc.target/powerpc/builtins-7-p9-runnable.c: Same.
* gcc.target/powerpc/builtins-7-runnable.c: Same.
* gcc.target/powerpc/builtins-8-p9-runnable.c: Same.
* gcc.target/powerpc/builtins-8-runnable.c: Same.
* gcc.target/powerpc/cpu-builtin-1.c: Same.
* gcc.target/powerpc/float128-fma1.c: Same.
* gcc.target/powerpc/float128-hw.c: Same.
* gcc.target/powerpc/float128-hw10.c: Same.
* gcc.target/powerpc/float128-hw11.c: Same.
* gcc.target/powerpc/float128-hw2.c: Same.
* gcc.target/powerpc/float128-hw3.c: Same.
* gcc.target/powerpc/float128-hw4.c: Same.
* gcc.target/powerpc/float128-hw5.c: Same.
* gcc.target/powerpc/float128-hw6.c: Same.
* gcc.target/powerpc/float128-hw7.c: Same.
* gcc.target/powerpc/float128-hw8.c: Same.
* gcc.target/powerpc/float128-hw9.c: Same.
* gcc.target/powerpc/float128-minmax.c: Same.
* gcc.target/powerpc/float128-odd.c: Same.
* gcc.target/powerpc/float128-sqrt1.c: Same.

34 files changed:
gcc/testsuite/gcc.target/powerpc/builtins-1-p9-runnable.c
gcc/testsuite/gcc.target/powerpc/builtins-1.c
gcc/testsuite/gcc.target/powerpc/builtins-2-p9-runnable.c
gcc/testsuite/gcc.target/powerpc/builtins-2.c
gcc/testsuite/gcc.target/powerpc/builtins-3-p9-runnable.c
gcc/testsuite/gcc.target/powerpc/builtins-3-p9.c
gcc/testsuite/gcc.target/powerpc/builtins-3-runnable-p8.c
gcc/testsuite/gcc.target/powerpc/builtins-3.c
gcc/testsuite/gcc.target/powerpc/builtins-4-p9-runnable.c
gcc/testsuite/gcc.target/powerpc/builtins-4.c
gcc/testsuite/gcc.target/powerpc/builtins-5-p9-runnable.c
gcc/testsuite/gcc.target/powerpc/builtins-5.c
gcc/testsuite/gcc.target/powerpc/builtins-6-p9-runnable.c
gcc/testsuite/gcc.target/powerpc/builtins-6-runnable.c
gcc/testsuite/gcc.target/powerpc/builtins-7-p9-runnable.c
gcc/testsuite/gcc.target/powerpc/builtins-7-runnable.c
gcc/testsuite/gcc.target/powerpc/builtins-8-p9-runnable.c
gcc/testsuite/gcc.target/powerpc/builtins-8-runnable.c
gcc/testsuite/gcc.target/powerpc/cpu-builtin-1.c
gcc/testsuite/gcc.target/powerpc/float128-fma1.c
gcc/testsuite/gcc.target/powerpc/float128-hw.c
gcc/testsuite/gcc.target/powerpc/float128-hw10.c
gcc/testsuite/gcc.target/powerpc/float128-hw11.c
gcc/testsuite/gcc.target/powerpc/float128-hw2.c
gcc/testsuite/gcc.target/powerpc/float128-hw3.c
gcc/testsuite/gcc.target/powerpc/float128-hw4.c
gcc/testsuite/gcc.target/powerpc/float128-hw5.c
gcc/testsuite/gcc.target/powerpc/float128-hw6.c
gcc/testsuite/gcc.target/powerpc/float128-hw7.c
gcc/testsuite/gcc.target/powerpc/float128-hw8.c
gcc/testsuite/gcc.target/powerpc/float128-hw9.c
gcc/testsuite/gcc.target/powerpc/float128-minmax.c
gcc/testsuite/gcc.target/powerpc/float128-odd.c
gcc/testsuite/gcc.target/powerpc/float128-sqrt1.c

index 0e6eeff4b7e52105e8edb3103c0f48c7ee0b3a23..711e3d0eeaa0eb2f2685a8adf80d311d4af15c37 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do run { target { powerpc*-*-linux* && p9vector_hw } } } */
+/* { dg-do run } */
 /* { dg-require-effective-target p9vector_hw } */
 /* { dg-options "-O2 -mdejagnu-cpu=power9" } */
 
index 73f8fb54cffff04ae70f3fcd86534fdd921fd506..83aed5a514163d3c0dd3e5645c63fdbbea6d50f4 100644 (file)
@@ -1,4 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
+/* { dg-require-effective-target powerpc_p8vector_ok } */
 /* { dg-options "-mdejagnu-cpu=power8 -O0 -mno-fold-gimple -dp" } */
 /* { dg-prune-output "gimple folding of rs6000 builtins has been disabled." } */
 
index a971d1581086c1d1019c0e78ae3d9a9df9876439..5d36ecc938fe5b7df921031074ff266a3625093e 100644 (file)
@@ -1,5 +1,5 @@
-/* { dg-do run { target { powerpc64*-*-* && { lp64 && p9vector_hw } } } } */
-/* { dg-require-effective-target powerpc_p9vector_ok } */
+/* { dg-do run { target lp64 } } */
+/* { dg-require-effective-target p9vector_hw } */
 /* { dg-options "-mdejagnu-cpu=power9 -O2" } */
 
 #include <altivec.h> // vector
index 0fa60b277f67d1fe15a9eb5a78eae040f3949df7..2aa23a37799277dceb3521be9053673c7ba4b633 100644 (file)
@@ -1,5 +1,5 @@
-/* { dg-do run { target { powerpc*-*-* } } } */
-/* { dg-require-effective-target vsx_hw } */
+/* { dg-do run } */
+/* { dg-require-effective-target p8vector_hw } */
 /* { dg-options "-mdejagnu-cpu=power8 " } */
 
 #include <altivec.h>
index 7926f80f98bf36c70fba4a31e3cc762170213a43..44c0397c49a538039d7609ae150919730bcc8b65 100644 (file)
@@ -1,4 +1,5 @@
-/* { dg-do run { target { powerpc64*-*-* && { lp64 && p9vector_hw } } } } */
+/* { dg-do run } */
+/* { dg-require-effective-target p9vector_hw } */
 /* { dg-options "-mdejagnu-cpu=power9 -O2" } */
 
 #ifdef DEBUG
index 5b4cdd81e35bbc07b351f13697723e168d1a85be..5818361169f7d33bf4ad150fbacbc0403719782d 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do compile  { target { le } } } */
+/* { dg-do compile { target { le } } } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
 /* { dg-options "-mdejagnu-cpu=power9 -O1" } */
 
index 1ad6f82480b501ccee79b3b2fd6a5daeed2e5cf1..32e8aa3ecae3e7cb766fb0753cabe0963f3a8177 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do run { target { powerpc*-*-linux* && { p8vector_hw } } } } */
+/* { dg-do run } */
 /* { dg-require-effective-target p8vector_hw } */
 /* { dg-options "-mdejagnu-cpu=power8" } */
 
index fc4fd6003de20bef1af48f61c4a5e6d7fdf81f3b..e048e8b2355544ad7f289b44e8f7334740df81e5 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do compile { target powerpc*-*-* } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_altivec_ok } */
 /* { dg-options "-maltivec" } */
 
index ab8e030e6cfd1d5ae990ccf02ce4ce59146f5bfd..3d7447722789e48e0cb6697306a0128c547ce5f3 100644 (file)
@@ -1,4 +1,5 @@
-/* { dg-do run { target { powerpc*-*-* && { p9vector_hw } } } } */
+/* { dg-do run } */
+/* { dg-require-effective-target p9vector_hw } */
 /* { dg-options "-mdejagnu-cpu=power9 -O2 " } */
 
 #include <altivec.h> // vector
index 66bfaf1210fb5a62441ecaea6c58ec866fb6f912..4e3b543f24260b890bf61aacf8b879c4eb74c786 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do compile { target powerpc*-*-* } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_vsx_ok } */
 /* { dg-options "-mvsx" } */
 
index ba2736fe98dd24026f003b9e9c5236920ffab1f5..0fe62064cbec284180d45b13662abfa543f595c1 100644 (file)
@@ -1,4 +1,5 @@
-/* { dg-do run { target { powerpc*-*-* &&  p9vector_hw } } } */
+/* { dg-do run } */
+/* { dg-require-effective-target p9vector_hw } */
 /* { dg-options "-mdejagnu-cpu=power9 -O2" } */
 
 #include <stdint.h>
index c5f5c31b45f48020d0bae17ba410b19fdb5408d7..9c25329fb1ec1c5666fac448a2d0800b1a9dc279 100644 (file)
@@ -1,4 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
+/* { dg-require-effective-target powerpc_p8vector_ok } */
 /* { dg-options "-mdejagnu-cpu=power8 -O0 -mno-fold-gimple -dp" } */
 /* { dg-prune-output "gimple folding of rs6000 builtins has been disabled." } */
 
index 7c6275fecdafdb7c38b3c2a06690f2b4189e9e75..b5bd778c9fa52e8a34c57ec00b429624b597630f 100644 (file)
@@ -1,4 +1,5 @@
-/* { dg-do run { target { powerpc*-*-* &&  p9vector_hw } } } */
+/* { dg-do run { target lp64 } } */
+/* { dg-require-effective-target p9vector_hw } */
 /* { dg-options "-mdejagnu-cpu=power9 -O2" } */
 
 #include <stdint.h>
index 10f5ba086b6f19c1f1125f39bd468ccefa046de2..6f89dac49b5bc6c853b26017606c2f447fc6ac72 100644 (file)
@@ -1,4 +1,5 @@
-/* { dg-do run { target { powerpc*-*-* && { lp64 && p8vector_hw } } } } */
+/* { dg-do run { target lp64 } } */
+/* { dg-require-effective-target p8vector_hw } */
 /* { dg-options "-mdejagnu-cpu=power8 -O3" } */
 
 #include <stdint.h>
index 2f1ce7666cb61e35f461be201ed4140eda5a1788..1333d01abaa6fcce6e9f7b79b17ca064e4d5d25e 100644 (file)
@@ -1,5 +1,5 @@
-/* { dg-do run { target { powerpc*-*-* && p9vector_hw } } } */
-/* { dg-require-effective-target powerpc_p9vector_ok } */
+/* { dg-do run } */
+/* { dg-require-effective-target p9vector_hw } */
 /* { dg-options "-mdejagnu-cpu=power9 -O2" } */
 
 #include <altivec.h>
index 9c58111d4b390e71a4458f7c5543ce24e7c292da..52371e18832497d567a302183f7f98055db4b757 100644 (file)
@@ -1,4 +1,5 @@
-/* { dg-do run { target { powerpc*-*-* && p8vector_hw } } } */
+/* { dg-do run } */
+/* { dg-require-effective-target p8vector_hw } */
 /* { dg-options "-mdejagnu-cpu=power8 -O2" } */
 
 #include <stdint.h>
index 19457eebfc4d40ccfa93bffaf317a60ad99484c0..f4809e6afff97b14f12eef02ce2cb34bb1cfd752 100644 (file)
@@ -1,4 +1,5 @@
-/* { dg-do run { target { powerpc*-*-* &&  p9vector_hw } } } */
+/* { dg-do run } */
+/* { dg-require-effective-target p9vector_hw } */
 /* { dg-options "-mdejagnu-cpu=power9 -O2" } */
 
 #include <stdint.h>
index ad835c7b4c8961fd9fef879941b2e52de638b6fe..38a1390d18e0d0a2d3d917bd5369bca4ecfc9fbd 100644 (file)
@@ -1,4 +1,5 @@
-/* { dg-do run { target { powerpc*-*-* && { p8vector_hw } } } } */
+/* { dg-do run } */
+/* { dg-require-effective-target p8vector_hw } */
 /* { dg-options "-mdejagnu-cpu=power8 -O2" } */
 
 #include <stdint.h>
index 2bcf6f679daa51d8deaa93d7c1ac8123f7932486..280c9971c801ca1c57d66a3d080a3f579ae989b9 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-skip-if "" { powerpc*-*-darwin* } } */
 
 void
index 9bc538ed8598d87772c4ae55c6b8fb5d030d4b82..5c90e7eac48d95a22a1cd238b09654515b3a27f0 100644 (file)
@@ -1,5 +1,6 @@
-/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
+/* { dg-do compile { target lp64 } } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
+/* { dg-require-effective-target float128 } */
 /* { dg-options "-mpower9-vector -O2" } */
 
 __float128
index 929c6ddabe0e5e8bce0e29812b806a6274325269..8c9beafa90ad062d62e53b6561469ae4de0591ed 100644 (file)
@@ -1,5 +1,6 @@
-/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
+/* { dg-do compile { target lp64 } } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
+/* { dg-require-effective-target float128 } */
 /* { dg-options "-mpower9-vector -O2" } */
 
 #ifndef TYPE
index eb4bed60c47df1d5a087a78f130c146d1ad76fed..539337c787912f00ca00b2b394880047c6b6dd76 100644 (file)
@@ -1,5 +1,6 @@
-/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
+/* { dg-do compile { target lp64 } } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
+/* { dg-require-effective-target float128 } */
 /* { dg-options "-mpower9-vector -O2" } */
 
 extern _Float128 floorf128 (_Float128);
index 7bd9b81427a774648a9e3fd8ddbe1868c4e31f54..dc78cf2f61650c206322828dc81113bcefb262cc 100644 (file)
@@ -1,5 +1,6 @@
-/* { dg-do run { target { powerpc*-*-* && lp64 } } } */
+/* { dg-do run { target lp64 } } */
 /* { dg-require-effective-target p9vector_hw } */
+/* { dg-require-effective-target float128 } */
 /* { dg-options "-mpower9-vector -O2" } */
 
 #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
index 118bed625375d2e81143121918cd2c294072a10f..1e3408b3757b45af564fb7f25d1fde496b83ec12 100644 (file)
@@ -1,5 +1,6 @@
-/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
+/* { dg-do compile { target lp64 } } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
+/* { dg-require-effective-target float128 } */
 /* { dg-options "-mpower9-vector -O2 -ffast-math -std=gnu11" } */
 
 /* Test to make sure the compiler handles the standard _Float128 functions that
index e63099dde08d1f9c240648d4f6efe3ce7a79ac4a..b3bbeb25678a9e9faf20b8e62659e4a233d11ddc 100644 (file)
@@ -1,5 +1,6 @@
-/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
+/* { dg-do compile { target lp64 } } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
+/* { dg-require-effective-target float128 } */
 /* { dg-options "-mpower9-vector -O2 -ffast-math -std=c11" } */
 
 /* Test to make sure the compiler calls the external function instead of doing
index be5d0d6eef4fa5497e2fb09f10058da205d4570d..fc149169bc6324cb9636c76bc7612a3e3bec275b 100644 (file)
@@ -1,5 +1,6 @@
-/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
+/* { dg-do compile { target lp64 } } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
+/* { dg-require-effective-target float128 } */
 /* { dg-options "-mpower9-vector -O2 -mabi=ieeelongdouble -Wno-psabi" } */
 
 /* Insure that the ISA 3.0 IEEE 128-bit floating point built-in functions can
index 8621bd869da7ad1bc81acdc6615ae26030eadd50..b0edafbd3f44779613cb90e1e070e1ee8124c18a 100644 (file)
@@ -1,5 +1,6 @@
-/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
+/* { dg-do compile { target lp64 } } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
+/* { dg-require-effective-target float128 } */
 /* { dg-options "-mpower9-vector -O2 -ffast-math" } */
 
 extern _Float128 copysignf128 (_Float128, _Float128);
index 89bb93ce69032659aaa6f8bdb7589ed5de99ee66..a96edc8b1b600161c69495c4dc3fc2f4b94728f0 100644 (file)
@@ -1,5 +1,6 @@
-/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
+/* { dg-do compile { target lp64 } } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
+/* { dg-require-effective-target float128 } */
 /* { dg-options "-mpower9-vector -O2" } */
 
 extern _Float128 fabsf128 (_Float128);
index ca417165a478a61892babfa1cbb19edd1663c236..ffed847095caf99632c7c74b8a0d56756e96616a 100644 (file)
@@ -1,5 +1,6 @@
-/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
+/* { dg-do compile { target lp64 } } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
+/* { dg-require-effective-target float128 } */
 /* { dg-options "-mpower9-vector -O2" } */
 
 extern _Float128 fabsf128 (_Float128);
index 62f4eae93d10053d40592ccdb6808da0245aae22..23f9ec23577b0c74531f8ae24a74176ccecd7d34 100644 (file)
@@ -1,5 +1,6 @@
-/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
+/* { dg-do compile { target lp64 } } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
+/* { dg-require-effective-target float128 } */
 /* { dg-options "-mpower9-vector -O2" } */
 
 extern _Float128 fminf128 (_Float128, _Float128);
index ca46e151aa9cf7adc1454c11ec4b4a4fb9ff5e5c..e37fd1b639766602b20966322a74c5d4ef7ad34e 100644 (file)
@@ -1,5 +1,6 @@
-/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
+/* { dg-do compile { target lp64 } } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
+/* { dg-require-effective-target float128 } */
 /* { dg-options "-mpower9-vector -O2 -ffast-math" } */
 
 extern _Float128 sqrtf128 (_Float128);
index f8b025d66fe5da88e68df910b6bcb2c47c6813d8..fe397518f2f534501bc3e8026f1daa5f3ae1e2b7 100644 (file)
@@ -1,5 +1,6 @@
-/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
+/* { dg-do compile { target lp64 } } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
+/* { dg-require-effective-target float128 } */
 /* { dg-options "-mpower9-vector -O2 -ffast-math" } */
 
 #ifndef TYPE
index 68c151059bcd96829d70ed58c0dc46762447c140..8c8a34c74caeb5bb06985e8e5d0a5f9819c9827f 100644 (file)
@@ -1,5 +1,6 @@
-/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
+/* { dg-do compile { target lp64 } } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
+/* { dg-require-effective-target float128 } */
 /* { dg-options "-mpower9-vector -O2" } */
 
 /* Test the generation of the round to odd instructions.  */
index 792aa05e030c5a3b0e3e665992cbeca74dcfa7c7..7020664e4fdd8ee7f5b89d611461084f31bda179 100644 (file)
@@ -1,5 +1,6 @@
-/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
+/* { dg-do compile { target lp64 } } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
+/* { dg-require-effective-target float128 } */
 /* { dg-options "-mpower9-vector -O2" } */
 
 __float128