From 4cea81adabd7660838ebb3e59e8d28f820a3b789 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Fri, 19 Jun 2020 11:53:52 -0400 Subject: [PATCH] rs6000: apply -mbig option to vec-extract[hl] testcases conditionally. gcc/testsuite/ChangeLog 2020-06-19 David Edelsohn * gcc.target/powerpc/vec-extracth-be-0.c: Apply -mbig conditionally for powerpc64le*-*-*. * gcc.target/powerpc/vec-extracth-be-1.c: Same. * gcc.target/powerpc/vec-extracth-be-2.c: Same. * gcc.target/powerpc/vec-extracth-be-3.c: Same. * gcc.target/powerpc/vec-extractl-be-0.c: Same. * gcc.target/powerpc/vec-extractl-be-1.c: Same. * gcc.target/powerpc/vec-extractl-be-2.c: Same. * gcc.target/powerpc/vec-extractl-be-3.c: Same. --- gcc/testsuite/gcc.target/powerpc/vec-extracth-be-0.c | 3 ++- gcc/testsuite/gcc.target/powerpc/vec-extracth-be-1.c | 3 ++- gcc/testsuite/gcc.target/powerpc/vec-extracth-be-2.c | 3 ++- gcc/testsuite/gcc.target/powerpc/vec-extracth-be-3.c | 3 ++- gcc/testsuite/gcc.target/powerpc/vec-extractl-be-0.c | 3 ++- gcc/testsuite/gcc.target/powerpc/vec-extractl-be-1.c | 3 ++- gcc/testsuite/gcc.target/powerpc/vec-extractl-be-2.c | 3 ++- gcc/testsuite/gcc.target/powerpc/vec-extractl-be-3.c | 3 ++- 8 files changed, 16 insertions(+), 8 deletions(-) diff --git a/gcc/testsuite/gcc.target/powerpc/vec-extracth-be-0.c b/gcc/testsuite/gcc.target/powerpc/vec-extracth-be-0.c index 93181033693..934c5f4bf31 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-extracth-be-0.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-extracth-be-0.c @@ -1,4 +1,5 @@ -/* { dg-options "-mdejagnu-cpu=future -mbig-endian" } */ +/* { dg-options "-mdejagnu-cpu=future" } */ +/* { dg-additional-options "-mbig" { target powerpc64le-*-* } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vec-extracth-be-1.c b/gcc/testsuite/gcc.target/powerpc/vec-extracth-be-1.c index 48cf3ac8628..8dfe8d1d652 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-extracth-be-1.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-extracth-be-1.c @@ -1,4 +1,5 @@ -/* { dg-options "-mdejagnu-cpu=future -mbig-endian" } */ +/* { dg-options "-mdejagnu-cpu=future" } */ +/* { dg-additional-options "-mbig" { target powerpc64le-*-* } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vec-extracth-be-2.c b/gcc/testsuite/gcc.target/powerpc/vec-extracth-be-2.c index cb2b1c84127..4a9d3cb55b1 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-extracth-be-2.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-extracth-be-2.c @@ -1,4 +1,5 @@ -/* { dg-options "-mdejagnu-cpu=future -mbig-endian" } */ +/* { dg-options "-mdejagnu-cpu=future" } */ +/* { dg-additional-options "-mbig" { target powerpc64le-*-* } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vec-extracth-be-3.c b/gcc/testsuite/gcc.target/powerpc/vec-extracth-be-3.c index 292c8fea571..71653583268 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-extracth-be-3.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-extracth-be-3.c @@ -1,4 +1,5 @@ -/* { dg-options "-mdejagnu-cpu=future -mbig-endian" } */ +/* { dg-options "-mdejagnu-cpu=future" } */ +/* { dg-additional-options "-mbig" { target powerpc64le-*-* } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vec-extractl-be-0.c b/gcc/testsuite/gcc.target/powerpc/vec-extractl-be-0.c index 743d90a382f..2816e643286 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-extractl-be-0.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-extractl-be-0.c @@ -1,4 +1,5 @@ -/* { dg-options "-mdejagnu-cpu=future -mbig-endian" } */ +/* { dg-options "-mdejagnu-cpu=future" } */ +/* { dg-additional-options "-mbig" { target powerpc64le-*-* } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vec-extractl-be-1.c b/gcc/testsuite/gcc.target/powerpc/vec-extractl-be-1.c index 0dd223b7920..86694c9e5d0 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-extractl-be-1.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-extractl-be-1.c @@ -1,4 +1,5 @@ -/* { dg-options "-mdejagnu-cpu=future -mbig-endian" } */ +/* { dg-options "-mdejagnu-cpu=future" } */ +/* { dg-additional-options "-mbig" { target powerpc64le-*-* } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vec-extractl-be-2.c b/gcc/testsuite/gcc.target/powerpc/vec-extractl-be-2.c index d9d4396e5d9..c5944fddf05 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-extractl-be-2.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-extractl-be-2.c @@ -1,4 +1,5 @@ -/* { dg-options "-mdejagnu-cpu=future -mbig-endian" } */ +/* { dg-options "-mdejagnu-cpu=future" } */ +/* { dg-additional-options "-mbig" { target powerpc64le-*-* } } */ #include diff --git a/gcc/testsuite/gcc.target/powerpc/vec-extractl-be-3.c b/gcc/testsuite/gcc.target/powerpc/vec-extractl-be-3.c index 95f9ddda747..33a7749ac81 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-extractl-be-3.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-extractl-be-3.c @@ -1,4 +1,5 @@ -/* { dg-options "-mdejagnu-cpu=future -mbig-endian" } */ +/* { dg-options "-mdejagnu-cpu=future" } */ +/* { dg-additional-options "-mbig" { target powerpc64le-*-* } } */ #include -- 2.30.2