From c415fbb09775da2f5e4059313dcf5f9164648939 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Tue, 30 Jun 2020 17:45:52 -0400 Subject: [PATCH] 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. --- gcc/testsuite/gcc.target/powerpc/builtins-2-p9-runnable.c | 3 ++- gcc/testsuite/gcc.target/powerpc/builtins-6-p9-runnable.c | 3 ++- gcc/testsuite/gcc.target/powerpc/builtins-6-runnable.c | 3 ++- gcc/testsuite/gcc.target/powerpc/builtins-revb-runnable.c | 4 +++- 4 files changed, 9 insertions(+), 4 deletions(-) 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 5d36ecc..3ceae15 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 b5bd778..20fdd3b 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 6f89dac..05ae248 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 f2a004a..6bfa22b 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 -- 2.7.4