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.
This commit is contained in:
Richard Earnshaw 2025-03-25 16:30:36 +00:00
parent f016ee8995
commit ca0a8421f7
4 changed files with 4 additions and 0 deletions

View 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"

View 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"

View 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"

View 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"