]> gcc.gnu.org Git - gcc.git/commitdiff
[arm] avoid aes-1742098 mitigation in combine tests
authorAlexandre Oliva <oliva@adacore.com>
Wed, 22 Feb 2023 17:35:34 +0000 (14:35 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Wed, 22 Feb 2023 17:38:17 +0000 (14:38 -0300)
The expected asm output for aes-fuse-[12].c does not correspond to
that which is generated when -mfix-cortex-a57-aes-1742098 is enabled.
The mitigation was introduced after the test, and enabled by default
for the selected processor, a72.  Select a53 instead, where the
migitation is not enabled by default, and all the expected fusions can
take place.

for  gcc/testsuite/ChangeLog

* gcc.target/arm/aes-fuse-1.c: Switch to -mcpu=cortex-a53.
* gcc.target/arm/aes-fuse-2.c: Likewise.

gcc/testsuite/gcc.target/arm/aes-fuse-1.c
gcc/testsuite/gcc.target/arm/aes-fuse-2.c

index 27b08aeef7ba7c9fc8b5cbebcbcbf576ca88f064..a1bbe054e0a01a583d93febd0c1f8fd9785290e8 100644 (file)
@@ -1,7 +1,7 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target arm_crypto_ok } */
 /* { dg-add-options arm_crypto } */
-/* { dg-additional-options "-mcpu=cortex-a72 -O3 -dp" } */
+/* { dg-additional-options "-mcpu=cortex-a53 -O3 -dp" } */
 
 #include <arm_neon.h>
 
index 1266a287531691f84d80c62d3e1e70915aff9668..ede3237ce269236d84e66e27c2fc71b355027d00 100644 (file)
@@ -1,7 +1,7 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target arm_crypto_ok } */
 /* { dg-add-options arm_crypto } */
-/* { dg-additional-options "-mcpu=cortex-a72 -O3 -dp" } */
+/* { dg-additional-options "-mcpu=cortex-a53 -O3 -dp" } */
 
 #include <arm_neon.h>
 
This page took 0.069876 seconds and 5 git commands to generate.