From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2140) id 0821D38582B0; Wed, 22 Feb 2023 17:23:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0821D38582B0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677086620; bh=IuaUcYLZM8ZvCXzX3nwqF4la2J5Au7Jeb4XKTqBsWno=; h=From:To:Subject:Date:From; b=MS77PwSeVlMv1qrVWE6HeyWCFlgFJ/Roo9HeAyV7TaAr3v00WOW0b08apGusqYoUP 4cMIwvEVoW6dPvT25jHseDVZZsRGQagLtXH+MnLUnJmnbKq5PmRP0TQXDGRGd7IpRo Qwvo5yEvbqDZJXXeXPqM0nvIi6UoiwOKve6SGCKI= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Alexandre Oliva To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/aoliva/heads/testme)] [arm] avoid aes-1742098 mitigation in combine tests X-Act-Checkin: gcc X-Git-Author: Alexandre Oliva X-Git-Refname: refs/users/aoliva/heads/testme X-Git-Oldrev: 923cef9cf2a4b8ab89702a36abea0525fcaae9d4 X-Git-Newrev: 0d9ca6d73b551166be95c70fcc2b153f4f1d5efb Message-Id: <20230222172340.0821D38582B0@sourceware.org> Date: Wed, 22 Feb 2023 17:23:40 +0000 (GMT) List-Id: https://gcc.gnu.org/g:0d9ca6d73b551166be95c70fcc2b153f4f1d5efb commit 0d9ca6d73b551166be95c70fcc2b153f4f1d5efb Author: Alexandre Oliva Date: Thu Feb 16 06:52:25 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 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