[committed] Skip gcc.target/aarch64/sve/tls_preserve* for emultls targets
diff mbox series

Message ID mptd0bbsmic.fsf@arm.com
State New
Headers show
Series
  • [committed] Skip gcc.target/aarch64/sve/tls_preserve* for emultls targets
Related show

Commit Message

Richard Sandiford Jan. 22, 2020, 12:28 p.m. UTC
These tests are supposed to be testing the tlsdesc handling and
so don't apply to emultls targets.

Tested on aarch64-linux-gnu and aarch64_be-elf, applied.

Richard


2020-01-22  Richard Sandiford  <richard.sandiford@arm.com>

gcc/testsuite/
	* gcc.target/aarch64/sve/tls_preserve_1.c: Require tls_native.
	* gcc.target/aarch64/sve/tls_preserve_2.c: Likewise.
	* gcc.target/aarch64/sve/tls_preserve_3.c: Likewise.
---
 gcc/testsuite/gcc.target/aarch64/sve/tls_preserve_1.c | 3 +--
 gcc/testsuite/gcc.target/aarch64/sve/tls_preserve_2.c | 3 +--
 gcc/testsuite/gcc.target/aarch64/sve/tls_preserve_3.c | 3 +--
 3 files changed, 3 insertions(+), 6 deletions(-)

Patch
diff mbox series

diff --git a/gcc/testsuite/gcc.target/aarch64/sve/tls_preserve_1.c b/gcc/testsuite/gcc.target/aarch64/sve/tls_preserve_1.c
index 1d377703592..e90ac78a526 100644
--- a/gcc/testsuite/gcc.target/aarch64/sve/tls_preserve_1.c
+++ b/gcc/testsuite/gcc.target/aarch64/sve/tls_preserve_1.c
@@ -1,8 +1,7 @@ 
 /* { dg-do compile } */
 /* { dg-options "-O3 -fpic" } */
 /* { dg-require-effective-target fpic } */
-
-/* Clobber highs do not need to be spilled around tls usage.  */
+/* { dg-require-effective-target tls_native } */
 
 typedef float v4si __attribute__ ((vector_size (16)));
 
diff --git a/gcc/testsuite/gcc.target/aarch64/sve/tls_preserve_2.c b/gcc/testsuite/gcc.target/aarch64/sve/tls_preserve_2.c
index 8d73ad72a7f..20e939fbb85 100644
--- a/gcc/testsuite/gcc.target/aarch64/sve/tls_preserve_2.c
+++ b/gcc/testsuite/gcc.target/aarch64/sve/tls_preserve_2.c
@@ -1,8 +1,7 @@ 
 /* { dg-do compile } */
 /* { dg-options "-O3 -fpic -msve-vector-bits=256 -fno-schedule-insns" } */
 /* { dg-require-effective-target fpic } */
-
-/* Clobber highs must be spilled around tls usage.  */
+/* { dg-require-effective-target tls_native } */
 
 typedef float v8si __attribute__ ((vector_size (32)));
 
diff --git a/gcc/testsuite/gcc.target/aarch64/sve/tls_preserve_3.c b/gcc/testsuite/gcc.target/aarch64/sve/tls_preserve_3.c
index 17f39d184b1..a19908f29b6 100644
--- a/gcc/testsuite/gcc.target/aarch64/sve/tls_preserve_3.c
+++ b/gcc/testsuite/gcc.target/aarch64/sve/tls_preserve_3.c
@@ -1,8 +1,7 @@ 
 /* { dg-do compile } */
 /* { dg-options "-O3 -fpic -msve-vector-bits=512 -fno-schedule-insns" } */
 /* { dg-require-effective-target fpic } */
-
-/* Clobber highs must be spilled around tls usage.  */
+/* { dg-require-effective-target tls_native } */
 
 typedef float v16si __attribute__ ((vector_size (64)));