Fix POWER dfp test case target tests.
authorPeter Bergner <bergner@linux.ibm.com>
Wed, 18 Dec 2019 18:46:05 +0000 (18:46 +0000)
committerPeter Bergner <bergner@gcc.gnu.org>
Wed, 18 Dec 2019 18:46:05 +0000 (12:46 -0600)
PR bootstrap/92661
* gcc.target/powerpc/pr92661.c: New test.
* gcc.target/powerpc/dfp-dd.c: Add dg-require-effective-target hard_dfp.
Remove unneeded powerpc_fprs test.
* gcc.target/powerpc/dfp-td.c: Likewise.
* gcc.target/powerpc/dfp-dd-2.c: Add dg-require-effective-target dfp.
* gcc.target/powerpc/dfp-td-2.c: Likewise.
* gcc.target/powerpc/dfp-td-3.c: Likewise.
* gcc.target/powerpc/dfp/dfp.exp: Remove rs6000-*-* and
powerpc*-*-darwin* target tests.  Add check_effective_target_dfp test.
* gcc.target/powerpc/dfp/dtstsfi-0.c: Remove unneeded target test.
Remove unneeded dg-skip-if.
* gcc.target/powerpc/dfp/dtstsfi-1.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-10.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-11.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-12.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-13.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-14.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-15.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-16.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-17.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-18.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-19.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-2.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-20.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-21.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-22.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-23.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-24.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-25.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-26.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-27.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-28.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-29.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-3.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-30.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-31.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-32.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-33.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-34.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-35.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-36.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-37.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-38.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-39.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-4.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-40.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-41.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-42.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-43.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-44.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-45.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-46.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-47.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-48.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-49.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-5.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-50.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-51.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-52.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-53.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-54.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-55.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-56.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-57.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-58.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-59.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-6.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-60.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-61.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-62.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-63.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-64.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-65.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-66.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-67.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-68.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-69.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-7.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-70.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-71.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-72.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-73.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-74.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-75.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-76.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-77.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-78.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-79.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-8.c: Likewise.
* gcc.target/powerpc/dfp/dtstsfi-9.c: Likewise.

From-SVN: r279542

88 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/dfp-dd-2.c
gcc/testsuite/gcc.target/powerpc/dfp-dd.c
gcc/testsuite/gcc.target/powerpc/dfp-td-2.c
gcc/testsuite/gcc.target/powerpc/dfp-td-3.c
gcc/testsuite/gcc.target/powerpc/dfp-td.c
gcc/testsuite/gcc.target/powerpc/dfp/dfp.exp
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-0.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-1.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-10.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-11.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-12.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-13.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-14.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-15.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-16.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-17.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-18.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-19.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-2.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-20.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-21.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-22.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-23.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-24.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-25.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-26.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-27.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-28.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-29.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-3.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-30.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-31.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-32.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-33.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-34.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-35.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-36.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-37.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-38.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-39.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-4.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-40.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-41.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-42.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-43.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-44.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-45.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-46.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-47.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-48.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-49.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-5.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-50.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-51.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-52.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-53.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-54.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-55.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-56.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-57.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-58.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-59.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-6.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-60.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-61.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-62.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-63.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-64.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-65.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-66.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-67.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-68.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-69.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-7.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-70.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-71.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-72.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-73.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-74.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-75.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-76.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-77.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-78.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-79.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-8.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-9.c
gcc/testsuite/gcc.target/powerpc/pr92661.c [new file with mode: 0644]

index f1bf3452243eeba76e05a3e2a425b7819a2d80d0..ece4fa0a1adc6f2bcb07f1b86ac56510ed10da3b 100644 (file)
@@ -1,3 +1,97 @@
+2019-12-18  Peter Bergner <bergner@linux.ibm.com>
+
+       PR bootstrap/92661
+       * gcc.target/powerpc/pr92661.c: New test.
+       * gcc.target/powerpc/dfp-dd.c: Add dg-require-effective-target hard_dfp.
+       Remove unneeded powerpc_fprs test.
+       * gcc.target/powerpc/dfp-td.c: Likewise.
+       * gcc.target/powerpc/dfp-dd-2.c: Add dg-require-effective-target dfp.
+       * gcc.target/powerpc/dfp-td-2.c: Likewise.
+       * gcc.target/powerpc/dfp-td-3.c: Likewise.
+       * gcc.target/powerpc/dfp/dfp.exp: Remove rs6000-*-* and
+       powerpc*-*-darwin* target tests.  Add check_effective_target_dfp test.
+       * gcc.target/powerpc/dfp/dtstsfi-0.c: Remove unneeded target test.
+       Remove unneeded dg-skip-if.
+       * gcc.target/powerpc/dfp/dtstsfi-1.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-10.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-11.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-12.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-13.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-14.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-15.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-16.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-17.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-18.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-19.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-2.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-20.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-21.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-22.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-23.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-24.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-25.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-26.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-27.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-28.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-29.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-3.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-30.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-31.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-32.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-33.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-34.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-35.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-36.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-37.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-38.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-39.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-4.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-40.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-41.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-42.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-43.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-44.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-45.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-46.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-47.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-48.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-49.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-5.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-50.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-51.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-52.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-53.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-54.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-55.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-56.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-57.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-58.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-59.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-6.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-60.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-61.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-62.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-63.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-64.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-65.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-66.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-67.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-68.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-69.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-7.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-70.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-71.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-72.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-73.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-74.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-75.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-76.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-77.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-78.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-79.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-8.c: Likewise.
+       * gcc.target/powerpc/dfp/dtstsfi-9.c: Likewise.
+
 2019-12-18  Thomas Schwinge  <thomas@codesourcery.com>
 
        * c-c++-common/goacc/finalize-1.c: Extend.
index eeef03710aceeac46c70f22e082d55ca81738501..668b21d4b4cf8dded79bb4ee1ad77b00691028c4 100644 (file)
@@ -1,5 +1,6 @@
 /* Test generation of DFP instructions for POWER6.  */
 /* { dg-do compile { target { powerpc*-*-linux* && powerpc_fprs } } } */
+/* { dg-require-effective-target dfp } */
 /* { dg-options "-std=gnu99 -O1 -mdejagnu-cpu=power6" } */
 
 /* { dg-final { scan-assembler-times "fneg" 1 } } */
index 2c2a10ceda45314c8ca98a0b0e80e0d446cda5e2..700dd97dc162a7218a1727f4ef0452fe182d66ca 100644 (file)
@@ -1,6 +1,7 @@
 /* Test generation of DFP instructions for POWER6.  */
 /* Origin: Janis Johnson <janis187@us.ibm.com> */
-/* { dg-do compile { target { powerpc*-*-linux* && powerpc_fprs } } } */
+/* { dg-do compile { target { powerpc*-*-linux* } } } */
+/* { dg-require-effective-target hard_dfp } */
 /* { dg-options "-std=gnu99 -mdejagnu-cpu=power6" } */
 
 /* { dg-final { scan-assembler "dadd" } } */
index 6e906f765c7654fde512504101889c3e562e02aa..11705f6659dbe13ab5d92b3ca458afc46a7ca22b 100644 (file)
@@ -1,5 +1,6 @@
 /* Test generation of DFP instructions for POWER6.  */
 /* { dg-do compile { target { powerpc*-*-linux* && powerpc_fprs } } } */
+/* { dg-require-effective-target dfp } */
 /* { dg-options "-std=gnu99 -O1 -mdejagnu-cpu=power6" } */
 
 /* { dg-final { scan-assembler-times "fneg" 1 } } */
index 847c5914a0effbe1e33eb7513f5fa45957aa68a3..0bf194788205edec6cd888837c91aed734069f7b 100644 (file)
@@ -1,5 +1,6 @@
 /* Test generation of DFP instructions for POWER6.  */
 /* { dg-do compile { target { powerpc*-*-linux* && powerpc_fprs } } } */
+/* { dg-require-effective-target dfp } */
 /* { dg-options "-std=gnu99 -O1 -mdejagnu-cpu=power6" } */
 
 /* { dg-final { scan-assembler-times "fneg" 1 } } */
index 17608046506bd566e1c2ec3b9e6ea9ef0495d2bc..af78e4ac9a1a66da0e05912f5923aed6524760b0 100644 (file)
@@ -1,6 +1,7 @@
 /* Test generation of DFP instructions for POWER6.  */
 /* Origin: Janis Johnson <janis187@us.ibm.com> */
-/* { dg-do compile { target { powerpc*-*-linux* && powerpc_fprs } } } */
+/* { dg-do compile { target { powerpc*-*-linux* } } } */
+/* { dg-require-effective-target hard_dfp } */
 /* { dg-options "-std=gnu99 -mdejagnu-cpu=power6" } */
 
 /* { dg-final { scan-assembler "daddq" } } */
index ea0211a8d70a2d490f905a918c93e2d4327af163..187ec65699c73570473d3552375677976b758c97 100644 (file)
 # along with GCC; see the file COPYING3.  If not see
 # <http://www.gnu.org/licenses/>.
 
-# Exit immediately if this isn't a PowerPC target, also exit if we
-# are on Darwin which doesn't support decimal float.
-if { (![istarget powerpc*-*-*] && ![istarget rs6000-*-*])
-    || [istarget "powerpc*-*-darwin*"]
-} then {
+# Exit immediately if this isn't a PowerPC target, or if the
+# target doesn't support decimal float.
+if { ![istarget powerpc*-*-*] || ![check_effective_target_dfp] } then {
   return
 }
 
index ce1f2c9e87e497a321b1af94da61fa4296dd7e2b..4f7562b9c38e6462d65fcfd1d162762b1cd0e428 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 /* This test should succeed on both 32- and 64-bit configurations.  */
index e660b743e884517032035d74cc0fef78acaabb65..6338a0e4278adb765d1e06d728066be2e7becd00 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power8" } */
 
 #include <altivec.h>
index ab2c4f20b7b47d19f6cc736f4f7a7ccf1a43fc96..822030bf73791564f05dff9b4610f5fbdf5cf3b9 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 /* This test should succeed on both 32- and 64-bit configurations.  */
index 92145f0fd457fdcbbff07ce80bcd2dc3defd074a..044e7683cf1641fc947c192463be72a286166916 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power8" } */
 
 #include <altivec.h>
index 8ec59258ad3fe922073d3d859871435080f8c12f..350b4c1020514393960f28a9ce1ce0f687b583e3 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index bef09ce0c0b032a4627ad5cb4ab6763f88074328..cc54c6b265e9f53025d7140355f354714bb3c8f8 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index 364c3aa675935b871f83f643da93e8f8bb94b31f..011d20039d06ccf71152f6b967e5e7e229f24357 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index 2f55f743a2f986490d892a3bad91f299cb30738b..54d2557fa2f2e2b907b2aead1f3e65bd73490062 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 /* This test should succeed on both 32- and 64-bit configurations.  */
index 62dc52d25a74aff83092ef4c56e079ba57d0c4cc..8626c579a25be2725216fd913324d7b4d819ade5 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power8" } */
 
 #include <altivec.h>
index 8fbc15a68b3e6de1095b0a0d7994f58695a24586..28033dbac18f2f394594e2267fbc5a702511458a 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index 2b11ac936bb627b1b4d875e50750a6426574c896..8ce9390feaffd3bf77a4ee4d06149106ccafa2b4 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index cc94e30738a31279cf9c36c5ffa49b4f52a8a297..092b9c0f7c5de5d5dadd57c1f8be8892f926a680 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index 6b8748ca6d4e560b38b5b7b1a4da05bc4f9cfc40..4b72fa8edc3b268000b9477c75982e2d7c834eb5 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index 6a5b8a5111f6f01dd617acaa838b734b4502085b..ee098bcb999f35c29c9d300d448206eb01cacb33 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 /* This test should succeed on both 32- and 64-bit configurations.  */
index a8e435b6031462383e0d645861e47c57ad818598..0d47cc2789778433892e26a2189b37a4fb8c61a9 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power8" } */
 
 #include <altivec.h>
index 64256d303a9b701f3363f073c3bc0f45631d83e8..15d7a352fdf3ebe1ea0b0c0c61b95096b1a7c733 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index f0abd6faec3c8e31f2d90c75acf23b56e19ed34a..236f39393e04de5dd50420e614335aa09daa8eff 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index 87559877e42fba13316e2a82cd02915b5f9f728b..f6ed00a73dd956d747c0176abac24de0a1fd8030 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index e6987e918439d054e1f6345518875726fddfaa3d..1390c8381f810c9791053e23dd51e1b884fb66f7 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 /* This test should succeed on both 32- and 64-bit configurations.  */
index 40790f4ce7e5f1ad0012ce30b21a394dcbd06140..f070a0c4a7becfabeca20df55a7d25e827e80aa9 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power8" } */
 
 #include <altivec.h>
index 2d266d19b6be927eee1109db2a0b2893d03d9cfe..8e3954d6b9389c4a837e5f18c5f54a27c097f5f7 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index 3b54e00f26192ca6a1c61a9625c05953623df5ed..a2b922955f6c880534de3cd5b1b1c3d1205e26b7 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index 82af9a2f5a579405682caf6382cdaa0067c0fec1..f6c0ede46ccc9025e8685740c7cf0a92c6039898 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index bc1dbd0a405c719b47f22c283c2a74bf830db117..af07fbb4a01e27614c8deabc3879ff317a6d8256 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index e774c4e8a7c2b3674a1e8d7feed8dca6008e6fed..6d8869e5435eade6cb5101b136dd748a43766d3d 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 /* This test should succeed on both 32- and 64-bit configurations.  */
index a7f39080a88fc82bc37b08864e7b8fc678b02e76..439fcb2a548a6fbf7ca54d21b281d1c742511949 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power8" } */
 
 #include <altivec.h>
index 3abfc479ee022ca2e44b35cf29c01cbf86aa364b..d24f3982ee9701a2d3b9e93f0a1808786559b62f 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index 8a5da5a26c52833c2d2e6b5b0debc04f9ea1ecfd..6d978a097500b28d7241d74baa7caf993d50697d 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index 82deb10611943457e84e326bbc76c299d1c704fe..b6620c51f2a97fd49df682c5056c5137371406b3 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index 7e733891ebcf922b623c7b46ab74cf753e88b4bc..fdafaf9ceb8547822920df8376746674996f12ba 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 /* This test should succeed on both 32- and 64-bit configurations.  */
index 1b4886785b1a329ae483b0ee2d57a5db1bbeaedd..822f6d57003f312e9b7cfcce81b5faadf2b90e73 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power8" } */
 
 #include <altivec.h>
index db4b50453a662f2f1c342c340502703343504eda..dc4c8ecdd00f3ed70cf9ef327fab9c522307d4d1 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index cb32c9f37344cc9d6eefea63bace04843bbde814..fce744cd916d475ae232976bc6da6ccd1ad45f38 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index 58b4c6081fe7683d64f567a84518f2b4a0fb7071..1aee9efe919e95701de3622857074dd9cfeb6854 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index 49d6767975bde78e8d965b5c020d98f6d6e33f1e..6397aae3e564c062bc09406b74feda7fd662505e 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index 43c2dfda0176febb153d541bc1bd3bcdce040b86..4663fc653bb01eec49e06e8e296edd27bd917cbe 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 /* This test should succeed on both 32- and 64-bit configurations.  */
index 640e6c878550144504d9fe7e45ba3c82fcacf5a3..451a9e74c2876581c7e5a424075b34b3081f906a 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power8" } */
 
 #include <altivec.h>
index 440a3105b6d6ef5af6b54a7d2814730782d57aaf..fc6b3568d09be0991645cf0802f85ed24fb723e0 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index 5a0ed7d024ba3f7d668a7e4de41d1e56392f91f2..9c194374187de90462848524fb8b63a56ace8d4b 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index 1aa95062ad12cd3ee7d01d3a87cc8e7500a16a07..b896865e6bb9b3c62eff8ddc4f714e3b0544bc4f 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index 65e1c8dbfcc752d9b31999e600d8daf0acc4eb03..5c6fcc4ec8378f52efe5b0cbba84e0bfb12d7391 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 /* This test should succeed on both 32- and 64-bit configurations.  */
index 6557a6364383685f53a25d8b49604c098d1b9fd2..d0833c80f6054bcc3dc8267390fbe7d250ce4aee 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power8" } */
 
 #include <altivec.h>
index 7269cb55ca29244989109eddcff7702c1152788d..edfac68b0e88beea94466d240a28473ceed8a6f8 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index ad18828273d73135c2f5ee8f4a229a15ae79cb64..9a94371da350f1cad6bb85d86f1a3357c62c9a0c 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index 3eb3bcbe101e42d31972beed1c5a7accf2844e56..e7b50dc108ecd46d0867e9224425b4b4de051b2d 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index 8bd59bf9393cffb2ab20b7df72c87df5203413f6..6f57baf015002d942e66fd9bf0f841033357f1c2 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 /* This test should succeed on both 32- and 64-bit configurations.  */
index 62e1bf28aa544f06052345ca4aa1a930bb9f438f..25b35ed4bc9cf2758195e3bd7266e8da8e5f95cf 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 /* This test should succeed on both 32- and 64-bit configurations.  */
index 801c8c7628e90887d4da42622ba34279dc55c9c8..e6b5fe5469ef36b094a1b796d2e8835d220d759e 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power8" } */
 
 #include <altivec.h>
index 769f722fb3483960036c39d1eec74c35870d8434..c9431b5ea1aeae64398450077bff0b39e0c62e08 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index aab17697ec27fe3b02c71e29aeb768f6be4edb74..d11f497b137234fbdca983d339a4a7f8dd6305c1 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index 07800d4e0e42e10358a09f76bd235eaf751f61e9..2fdb58f674830cbea6debbeda46738ba2178af92 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index ad54b9de4c5a4313c229d2da391e1f0a1f884c2d..912ae7f3492e5dd975468a672f047138ee8e85f6 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 /* This test should succeed on both 32- and 64-bit configurations.  */
index 589adebf6104d18ed7724fe0786153fa409c64eb..218d2f64d3ef794beab46d653c1ef2bf57d71a64 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power8" } */
 
 #include <altivec.h>
index 432c255caf8795a12c7a364f46179128f56258df..275bf8d0ac207e819b8f02c596844e413bd62117 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index d2144860eba363b0719f46d775bccc69b073eb16..0626d87d9be6be98690b64f8b803045280e3de92 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index 7b5d0975c842b041aeca834f90004dfdd1c222fb..e1da3d810efd54221d18381a378b886b7ee0893b 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index 873ad9fa3a30bc89ec496658f391e4266255d22c..d889bdd385c291f8693287a02077c5532f397a47 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power8" } */
 
 #include <altivec.h>
index 781b2edc5ff7d2fc19d459281d0e9bbfeba16875..c584d988b4bcc998ed654bf2e44826f7fd12a351 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 /* This test should succeed on both 32- and 64-bit configurations.  */
index 3b2867caea1043d213538158c19f888434610665..1a54150617ef4ff50e9a7832a588ff04c1cf3d49 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power8" } */
 
 #include <altivec.h>
index 54edaabfb3d2c1ef6c00f7246eb1400dfc1d92a1..44aaab201f9e3d71ccafe537b04ac53a1aea15f1 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index ca23be3d0f35f8c05f8fc707df4738152077e6d7..e7d2a27ecfd6aa12e16f0959cd101b5c2a15a119 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index 137c98deb2c38467540515aced9894bad1540301..fb3331162c72c53918f296c51fa7efe7dd6146ec 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index 9e9407feb9b3b2b543c6d2b2ef356278400f77f8..7c75265de08c7a68d0c327a61759279e268e46c7 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 /* This test should succeed on both 32- and 64-bit configurations.  */
index 2b6d30a34ac116fe5ae5929f10155301a8219fe8..74269fac3284d3c0611d5a59a9624aec7d088804 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power8" } */
 
 #include <altivec.h>
index dc18051136608860ae86551363a6f91d7988808b..59471cfb645dda0129e3ad410ec3773b0c0f3c48 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index 0cde0f9ff96719d462a1d4828f50e6b27b6ffef9..1bda795b55a6ec88c9603132e81751736933f5ab 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index 502038694a97d16e6c556759e9f794c47ff4aa8e..c9e1721b3d6f4cec635ed55be4b88ef21526dc24 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index 56fb2322c4e308ea96909dd1f4cd98823ff5113c..d0d3f23c853ab20eaac39151113a335541d38662 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index 39236c54eb54a90c70e743f3a8274dbb76ac3927..875354c9ab868383035f6cf2f58cf6e371d7b616 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 /* This test should succeed on both 32- and 64-bit configurations.  */
index 8fe0b6abbeab7608a713680feac21e270d1d95ec..68758cf535a2649f8b8765ee2b5760fcab783ee1 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power8" } */
 
 #include <altivec.h>
index ddcd81b0f28164163319a566dd7cfcaf968331fa..725cc5432b9df66879ca9d48124f89e462cb7b85 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index 77efcc94e97eba33318b4c61aaf52d75082ce302..f368c38204bbfcd1275c0c7e32cd07fda9b6af43 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index 005d7cbc6af78100426372b93b11b3381e8d3ebe..c6ffd51d9f48d3186481ac70f996a7b7fc84d22b 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index 9de8c9f10e090ab33b48a97ad049cf5fa7f5a6b2..910fb7d98c89f5610f306c6159b60ab6a069ccd3 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 /* This test should succeed on both 32- and 64-bit configurations.  */
index dccc388b04c6aa5dc155b5cd49d7206d8ab961e6..d867a987df85d6b4d054cab35afe4bbbe62f1d11 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power8" } */
 
 #include <altivec.h>
index 5f89438419127bc218e7711cf545f92c41a7a3ef..d279bfb5751d4ec59b5714bdf010449dd34d6868 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index a9cb785eb0ea6866689d1e862c395b0b51e8bd9d..3034300f72bf86d4cde7eed5b472681ff8f2f2b8 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index e478b710a750ea8da2deccfd4794c3a97a49257d..b88b5a86bcb2a2b3bb88a22489aa502570ae2774 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index c784e4dc642ec332f6d57158bbdd37ffaabcd13a..28bc10c314593b73b1f55c27cbfb08c9dd994862 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
index f23e2933fc7af00ee72670cf3697aadaaac3a16d..b2073f56b0542b2ba636629b29287c52c9019984 100644 (file)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile } */
 /* { dg-require-effective-target powerpc_p9vector_ok } */
-/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-mdejagnu-cpu=power9" } */
 
 #include <altivec.h>
diff --git a/gcc/testsuite/gcc.target/powerpc/pr92661.c b/gcc/testsuite/gcc.target/powerpc/pr92661.c
new file mode 100644 (file)
index 0000000..d9500db
--- /dev/null
@@ -0,0 +1,19 @@
+/* { dg-do compile } */
+/* { dg-options "-w -O2 -mdejagnu-cpu=power9" } */
+
+/* PR92661: The following tests should not ICE, regardless of
+   whether the target supports DFP or not.  */
+
+/* Test that a normal builtin function doesn't ICE.  */
+int
+foo (_Decimal64 src) /* { dg-error "decimal floating-point not supported for this target" "not supported" { target { ! dfp } } } */
+{
+  return __builtin_dfp_dtstsfi_lt_dd (5, src);
+}
+
+/* Test that an overloaded builtin function doesn't ICE.  */
+int
+bar (_Decimal64 src) /* { dg-error "decimal floating-point not supported for this target" "not supported" { target { ! dfp } } } */
+{
+  return __builtin_dfp_dtstsfi_lt (5, src);
+}