From b595f14f8f6338e314213855741aa2a0a0ee4952 Mon Sep 17 00:00:00 2001 From: Segher Boessenkool Date: Fri, 15 May 2020 18:15:26 +0000 Subject: [PATCH] rs6000/testsuite: Use the int128 selector where needed Tests that use the __int128 type need to use the int128 selector. 2020-05-15 Segher Boessenkool gcc/testsuite/ * gcc.target/powerpc/vec-gnb-0.c: Use int128 effective target. * gcc.target/powerpc/vec-gnb-1.c: Ditto. * gcc.target/powerpc/vec-gnb-2.c: Ditto. * gcc.target/powerpc/vec-ternarylogic-8.c: Ditto. * gcc.target/powerpc/vec-ternarylogic-9.c: Ditto. * gcc.target/powerpc/vec-ternarylogic-10.c: Ditto. --- gcc/testsuite/ChangeLog | 9 +++++++++ gcc/testsuite/gcc.target/powerpc/vec-gnb-0.c | 1 + gcc/testsuite/gcc.target/powerpc/vec-gnb-1.c | 1 + gcc/testsuite/gcc.target/powerpc/vec-gnb-2.c | 1 + gcc/testsuite/gcc.target/powerpc/vec-ternarylogic-10.c | 1 + gcc/testsuite/gcc.target/powerpc/vec-ternarylogic-8.c | 1 + gcc/testsuite/gcc.target/powerpc/vec-ternarylogic-9.c | 1 + 7 files changed, 15 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d7d614547f5..fb93dbb927b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2020-05-15 Segher Boessenkool + + * gcc.target/powerpc/vec-gnb-0.c: Use int128 effective target. + * gcc.target/powerpc/vec-gnb-1.c: Ditto. + * gcc.target/powerpc/vec-gnb-2.c: Ditto. + * gcc.target/powerpc/vec-ternarylogic-8.c: Ditto. + * gcc.target/powerpc/vec-ternarylogic-9.c: Ditto. + * gcc.target/powerpc/vec-ternarylogic-10.c: Ditto. + 2020-05-15 Segher Boessenkool * gcc.target/powerpc/cnttzdm-0.c: Use lp64. diff --git a/gcc/testsuite/gcc.target/powerpc/vec-gnb-0.c b/gcc/testsuite/gcc.target/powerpc/vec-gnb-0.c index f18bb16ffb2..e4c31eb0c8c 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-gnb-0.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-gnb-0.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target int128 } */ /* { dg-options "-mdejagnu-cpu=future" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vec-gnb-1.c b/gcc/testsuite/gcc.target/powerpc/vec-gnb-1.c index ee9c44f88b2..88b509f1a61 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-gnb-1.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-gnb-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ /* { dg-require-effective-target powerpc_future_hw } */ +/* { dg-require-effective-target int128 } */ /* { dg-options "-mdejagnu-cpu=future" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vec-gnb-2.c b/gcc/testsuite/gcc.target/powerpc/vec-gnb-2.c index 591f701e820..89e63c864d8 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-gnb-2.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-gnb-2.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target int128 } */ /* { dg-options "-mdejagnu-cpu=future" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vec-ternarylogic-10.c b/gcc/testsuite/gcc.target/powerpc/vec-ternarylogic-10.c index 868fb23c01b..d8aaebba52e 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-ternarylogic-10.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-ternarylogic-10.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target int128 } */ /* { dg-options "-mdejagnu-cpu=future" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vec-ternarylogic-8.c b/gcc/testsuite/gcc.target/powerpc/vec-ternarylogic-8.c index 0d6b9e74239..fc13e77d5e7 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-ternarylogic-8.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-ternarylogic-8.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target int128 } */ /* { dg-options "-mdejagnu-cpu=future" } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vec-ternarylogic-9.c b/gcc/testsuite/gcc.target/powerpc/vec-ternarylogic-9.c index b6113596867..65562ce0569 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-ternarylogic-9.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-ternarylogic-9.c @@ -1,5 +1,6 @@ /* { dg-do run } */ /* { dg-require-effective-target powerpc_future_hw } */ +/* { dg-require-effective-target int128 } */ /* { dg-options "-mdejagnu-cpu=future" } */ #include -- 2.30.2