]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
arm: testsuite: skip mtp tests on thumb1
authorRichard Earnshaw <rearnsha@arm.com>
Tue, 25 Mar 2025 16:30:36 +0000 (16:30 +0000)
committerRichard Earnshaw <rearnsha@arm.com>
Tue, 25 Mar 2025 16:39:17 +0000 (16:39 +0000)
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.

gcc/testsuite/gcc.target/arm/mtp_1.c
gcc/testsuite/gcc.target/arm/mtp_2.c
gcc/testsuite/gcc.target/arm/mtp_3.c
gcc/testsuite/gcc.target/arm/mtp_4.c

index 678d27d9234405abddfef6d571328bb7c10fba3a..f78ceb8574e08dab7b44120c6122da90901a479b 100644 (file)
@@ -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"
index bcb308f2637c6d6d6c6c7507ed16128581ba6179..1368fe4a3a3f43537afcd80e6b1c5d34eff26e57 100644 (file)
@@ -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"
index 7d5cea3cab61ddb9da60b418cfaf408e1060b58f..2ef2e95b62ddf0a8908360c30432e33789efb21b 100644 (file)
@@ -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"
index 068078df84ed6560072edacf4bf2064b115f6b49..121fc836513cdb5b633d49a9384f24cb80229527 100644 (file)
@@ -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"