From: David Edelsohn Date: Tue, 30 Jun 2020 21:45:52 +0000 (-0400) Subject: testsuite: change gcc.target/powerpc builtins lp64 to int128 requirement. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c415fbb09775da2f5e4059313dcf5f9164648939;p=gcc.git testsuite: change gcc.target/powerpc builtins lp64 to int128 requirement. 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 * 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. --- diff --git a/gcc/testsuite/gcc.target/powerpc/builtins-2-p9-runnable.c b/gcc/testsuite/gcc.target/powerpc/builtins-2-p9-runnable.c index 5d36ecc938f..3ceae159cf2 100644 --- a/gcc/testsuite/gcc.target/powerpc/builtins-2-p9-runnable.c +++ b/gcc/testsuite/gcc.target/powerpc/builtins-2-p9-runnable.c @@ -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 // vector diff --git a/gcc/testsuite/gcc.target/powerpc/builtins-6-p9-runnable.c b/gcc/testsuite/gcc.target/powerpc/builtins-6-p9-runnable.c index b5bd778c9fa..20fdd3bb4ec 100644 --- a/gcc/testsuite/gcc.target/powerpc/builtins-6-p9-runnable.c +++ b/gcc/testsuite/gcc.target/powerpc/builtins-6-p9-runnable.c @@ -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 diff --git a/gcc/testsuite/gcc.target/powerpc/builtins-6-runnable.c b/gcc/testsuite/gcc.target/powerpc/builtins-6-runnable.c index 6f89dac49b5..05ae2482825 100644 --- a/gcc/testsuite/gcc.target/powerpc/builtins-6-runnable.c +++ b/gcc/testsuite/gcc.target/powerpc/builtins-6-runnable.c @@ -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 diff --git a/gcc/testsuite/gcc.target/powerpc/builtins-revb-runnable.c b/gcc/testsuite/gcc.target/powerpc/builtins-revb-runnable.c index f2a004a21fc..6bfa22b856c 100644 --- a/gcc/testsuite/gcc.target/powerpc/builtins-revb-runnable.c +++ b/gcc/testsuite/gcc.target/powerpc/builtins-revb-runnable.c @@ -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