testsuite: change gcc.target/powerpc builtins lp64 to int128 requirement.
authorDavid Edelsohn <dje.gcc@gmail.com>
Tue, 30 Jun 2020 21:45:52 +0000 (17:45 -0400)
committerDavid Edelsohn <dje.gcc@gmail.com>
Tue, 30 Jun 2020 22:39:09 +0000 (18:39 -0400)
Some of the builtins* tests check for lp64 as a proxy for int128 support.
This patch changes the requirements to int128.  It also removes
some redundant requirements from revb.

gcc/testsuite/ChangeLog

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

* gcc.target/powerpc/builtins-2-p9-runnable.c: lp64 to int128.
* gcc.target/powerpc/builtins-6-p9-runnable.c: Same.
* gcc.target/powerpc/builtins-6-runnable.c: Same.
* gcc.target/powerpc/builtins-revb-runnable.c: Same.

gcc/testsuite/gcc.target/powerpc/builtins-2-p9-runnable.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-revb-runnable.c

index 5d36ecc938fe5b7df921031074ff266a3625093e..3ceae159cf2e847a600289c52193de232ff95efb 100644 (file)
@@ -1,5 +1,6 @@
-/* { dg-do run { target lp64 } } */
+/* { dg-do run } */
 /* { dg-require-effective-target p9vector_hw } */
+/* { dg-require-effective-target int128 } */
 /* { dg-options "-mdejagnu-cpu=power9 -O2" } */
 
 #include <altivec.h> // vector
index b5bd778c9fa52e8a34c57ec00b429624b597630f..20fdd3bb4ec4af79134ad3714db05709c7a9bfaa 100644 (file)
@@ -1,5 +1,6 @@
-/* { dg-do run { target lp64 } } */
+/* { dg-do run } */
 /* { dg-require-effective-target p9vector_hw } */
+/* { dg-require-effective-target int128 } */
 /* { dg-options "-mdejagnu-cpu=power9 -O2" } */
 
 #include <stdint.h>
index 6f89dac49b5bc6c853b26017606c2f447fc6ac72..05ae24828256ef9e57354cca9736bbd7bd4c4f7a 100644 (file)
@@ -1,5 +1,6 @@
-/* { dg-do run { target lp64 } } */
+/* { dg-do run } */
 /* { dg-require-effective-target p8vector_hw } */
+/* { dg-require-effective-target int128 } */
 /* { dg-options "-mdejagnu-cpu=power8 -O3" } */
 
 #include <stdint.h>
index f2a004a21fc317e346a2c4b59023278950472fff..6bfa22b856c07eac28cfcf9fb0cda01b42724dec 100644 (file)
@@ -1,4 +1,6 @@
-/* { dg-do run { target { powerpc*-*-* && { lp64 && p8vector_hw } } } } */
+/* { dg-do run } */
+/* { dg-require-effective-target p8vector_hw } */
+/* { dg-require-effective-target int128 } */
 /* { dg-options "-mdejagnu-cpu=power8  -O3" } */
 
 #include <altivec.h>