From edadb8adc3563bf782e4781bf3be6425af566368 Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Sun, 22 Dec 2019 01:35:08 +0000 Subject: [PATCH] Restrict some aarch64 testcases to little-endian 2019-12-21 Andrew Pinski PR testsuite/92998 * gcc.target/aarch64/sve/acle/general/dupq_1.c: Restrict to aarch64_little_endian only. * gcc.target/aarch64/torture/simd-abi-8.c: Likewise. From-SVN: r279709 --- gcc/testsuite/ChangeLog | 8 ++++++++ .../gcc.target/aarch64/sve/acle/general/dupq_1.c | 3 ++- gcc/testsuite/gcc.target/aarch64/torture/simd-abi-8.c | 3 ++- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 64a00be0399..e7cdf80e546 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2019-12-21 Andrew Pinski + + PR testsuite/92998 + * gcc.target/aarch64/sve/acle/general/dupq_1.c: + Restrict to aarch64_little_endian only. + * gcc.target/aarch64/torture/simd-abi-8.c: + Likewise. + 2019-12-22 Maciej W. Rozycki * lib/gcc-defs.exp (gcc-set-multilib-library-path): Use diff --git a/gcc/testsuite/gcc.target/aarch64/sve/acle/general/dupq_1.c b/gcc/testsuite/gcc.target/aarch64/sve/acle/general/dupq_1.c index d71507baa02..216699b0536 100644 --- a/gcc/testsuite/gcc.target/aarch64/sve/acle/general/dupq_1.c +++ b/gcc/testsuite/gcc.target/aarch64/sve/acle/general/dupq_1.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -mlittle-endian" } */ +/* { dg-options "-O2" } */ +/* { dg-require-effective-target aarch64_little_endian } */ #include diff --git a/gcc/testsuite/gcc.target/aarch64/torture/simd-abi-8.c b/gcc/testsuite/gcc.target/aarch64/torture/simd-abi-8.c index f3be8e76eae..2b278caaa4e 100644 --- a/gcc/testsuite/gcc.target/aarch64/torture/simd-abi-8.c +++ b/gcc/testsuite/gcc.target/aarch64/torture/simd-abi-8.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ -/* { dg-options "-std=gnu99 -mlittle-endian" } */ +/* { dg-options "-std=gnu99" } */ /* { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */ +/* { dg-require-effective-target aarch64_little_endian } */ #include -- 2.30.2