aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@arm.com>2025-03-25 16:30:36 +0000
committerRichard Earnshaw <rearnsha@arm.com>2025-03-25 16:39:17 +0000
commitca0a8421f7aa2191b2b867ff24888223d6cde433 (patch)
treea9d8e0b9c2a94667be9dc4c19e448884c3d0080a
parentf016ee89955ab4da5fe7ef89368e9437bb5ffb13 (diff)
downloadgcc-ca0a8421f7aa2191b2b867ff24888223d6cde433.zip
gcc-ca0a8421f7aa2191b2b867ff24888223d6cde433.tar.gz
gcc-ca0a8421f7aa2191b2b867ff24888223d6cde433.tar.bz2
arm: testsuite: skip mtp tests on thumb1
These tests need access to the MRC instruction, but that isn't part of of the Thumb1 ISA. So skip the tests when this isn't the case. gcc/testsuite/ChangeLog: * gcc.target/arm/mtp_1.c: Require arm32. * gcc.target/arm/mtp_2.c: Likewise. * gcc.target/arm/mtp_3.c: Likewise. * gcc.target/arm/mtp_4.c: Likewise.
-rw-r--r--gcc/testsuite/gcc.target/arm/mtp_1.c1
-rw-r--r--gcc/testsuite/gcc.target/arm/mtp_2.c1
-rw-r--r--gcc/testsuite/gcc.target/arm/mtp_3.c1
-rw-r--r--gcc/testsuite/gcc.target/arm/mtp_4.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/arm/mtp_1.c b/gcc/testsuite/gcc.target/arm/mtp_1.c
index 678d27d..f78ceb8 100644
--- a/gcc/testsuite/gcc.target/arm/mtp_1.c
+++ b/gcc/testsuite/gcc.target/arm/mtp_1.c
@@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-require-effective-target tls_native } */
+/* { dg-require-effective-target arm32 } */
/* { dg-options "-O -mtp=cp15" } */
#include "mtp.c"
diff --git a/gcc/testsuite/gcc.target/arm/mtp_2.c b/gcc/testsuite/gcc.target/arm/mtp_2.c
index bcb308f..1368fe4 100644
--- a/gcc/testsuite/gcc.target/arm/mtp_2.c
+++ b/gcc/testsuite/gcc.target/arm/mtp_2.c
@@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-require-effective-target tls_native } */
+/* { dg-require-effective-target arm32 } */
/* { dg-options "-O -mtp=tpidrprw" } */
#include "mtp.c"
diff --git a/gcc/testsuite/gcc.target/arm/mtp_3.c b/gcc/testsuite/gcc.target/arm/mtp_3.c
index 7d5cea3..2ef2e95 100644
--- a/gcc/testsuite/gcc.target/arm/mtp_3.c
+++ b/gcc/testsuite/gcc.target/arm/mtp_3.c
@@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-require-effective-target tls_native } */
+/* { dg-require-effective-target arm32 } */
/* { dg-options "-O -mtp=tpidruro" } */
#include "mtp.c"
diff --git a/gcc/testsuite/gcc.target/arm/mtp_4.c b/gcc/testsuite/gcc.target/arm/mtp_4.c
index 068078d..121fc83 100644
--- a/gcc/testsuite/gcc.target/arm/mtp_4.c
+++ b/gcc/testsuite/gcc.target/arm/mtp_4.c
@@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-require-effective-target tls_native } */
+/* { dg-require-effective-target arm32 } */
/* { dg-options "-O -mtp=tpidrurw" } */
#include "mtp.c"