public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-6287] [arm] avoid aes-1742098 mitigation in combine tests
@ 2023-02-22 17:40 Alexandre Oliva
  0 siblings, 0 replies; only message in thread
From: Alexandre Oliva @ 2023-02-22 17:40 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:1a684dca0e812921a733e3ed7302977c7924b2ae

commit r13-6287-g1a684dca0e812921a733e3ed7302977c7924b2ae
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Wed Feb 22 14:35:34 2023 -0300

    [arm] avoid aes-1742098 mitigation in combine tests
    
    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.

Diff:
---
 gcc/testsuite/gcc.target/arm/aes-fuse-1.c | 2 +-
 gcc/testsuite/gcc.target/arm/aes-fuse-2.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.target/arm/aes-fuse-1.c b/gcc/testsuite/gcc.target/arm/aes-fuse-1.c
index 27b08aeef7b..a1bbe054e0a 100644
--- a/gcc/testsuite/gcc.target/arm/aes-fuse-1.c
+++ b/gcc/testsuite/gcc.target/arm/aes-fuse-1.c
@@ -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>
 
diff --git a/gcc/testsuite/gcc.target/arm/aes-fuse-2.c b/gcc/testsuite/gcc.target/arm/aes-fuse-2.c
index 1266a287531..ede3237ce26 100644
--- a/gcc/testsuite/gcc.target/arm/aes-fuse-2.c
+++ b/gcc/testsuite/gcc.target/arm/aes-fuse-2.c
@@ -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>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-22 17:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-22 17:40 [gcc r13-6287] [arm] avoid aes-1742098 mitigation in combine tests Alexandre Oliva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).