]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: arm: Use effective-target for aes-fuse-[12].c
authorTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Tue, 17 Feb 2026 15:08:58 +0000 (16:08 +0100)
committerTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Wed, 18 Feb 2026 14:59:58 +0000 (15:59 +0100)
gcc/testsuite/ChangeLog:

* gcc.target/arm/aes-fuse-1.c: Use effective-target
arm_cpu_cortex_a53.
* gcc.target/arm/aes-fuse-2.c: Likewise.
* lib/target-supports.exp: Define effective-target
arm_cpu_cortex_a53.

Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
gcc/testsuite/gcc.target/arm/aes-fuse-1.c
gcc/testsuite/gcc.target/arm/aes-fuse-2.c
gcc/testsuite/lib/target-supports.exp

index a1bbe054e0a01a583d93febd0c1f8fd9785290e8..bf2abf382821ee3dde72315aa479cae6349757c2 100644 (file)
@@ -1,7 +1,9 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target arm_crypto_ok } */
+/* { dg-require-effective-target arm_cpu_cortex_a53 } */
 /* { dg-add-options arm_crypto } */
-/* { dg-additional-options "-mcpu=cortex-a53 -O3 -dp" } */
+/* { dg-add-options arm_cpu_cortex_a53 } */
+/* { dg-additional-options "-O3 -dp" } */
 
 #include <arm_neon.h>
 
index ede3237ce269236d84e66e27c2fc71b355027d00..61855cea7abf4dcccb0a3c8235d544abd608ddfa 100644 (file)
@@ -1,7 +1,9 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target arm_crypto_ok } */
+/* { dg-require-effective-target arm_cpu_cortex_a53 } */
 /* { dg-add-options arm_crypto } */
-/* { dg-additional-options "-mcpu=cortex-a53 -O3 -dp" } */
+/* { dg-add-options arm_cpu_cortex_a53 } */
+/* { dg-additional-options "-O3 -dp" } */
 
 #include <arm_neon.h>
 
index c87918275569b603ae6820fcf784f9c95641e658..ba91c95b348fd3079978ca2ac07b50d8e0de08b1 100644 (file)
@@ -6301,6 +6301,7 @@ foreach { armfunc armflag armdefs } {
 # flags).  See above for setting -march=.
 foreach { armfunc armflag armdefs } {
            xscale_arm "-mcpu=xscale -mtune=xscale -mfloat-abi=soft -marm" "__XSCALE__ && !__thumb__"
+           cortex_a53 "-mcpu=cortex-a53 -mtune=cortex-a53" __ARM_ARCH_8A__
            cortex_a57 "-mcpu=cortex-a57 -mtune=cortex-a57" __ARM_ARCH_8A__
            cortex_m0 "-mcpu=cortex-m0 -mtune=cortex-m0 -mfloat-abi=soft -mthumb" "__ARM_ARCH_6M__ && __thumb__"
            cortex_m0_small "-mcpu=cortex-m0.small-multiply -mtune=cortex-m0.small-multiply -mfloat-abi=soft -mthumb" "__ARM_ARCH_6M__ && __thumb__"