From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7810) id 11F743858428; Thu, 19 Oct 2023 10:15:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 11F743858428 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1697710515; bh=D0Qk0kNUzvSbn08TD2wyjCJ8Dk/Wfwj7EKF6tKgRGd8=; h=From:To:Subject:Date:From; b=BwP33gpVoQ/O/2AaynDgQx8NEGPQGBSw2oOF0FjjP9ZJSuqPKrnFfkMkUQlV9ENHd TwIEdrzRelobeYGVNwEinKAXhnRFsdHScoUm6Nf2Lyu3i8ZP+M9wAtW5Nk/Mwpwelv cqisYcb2Ar5stkglLOhtwp4nagKeai3uhEBa8mmE= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Alex Coplan To: gcc-cvs@gcc.gnu.org Subject: [gcc r14-4742] aarch64, testsuite: Fix up pr71727.c X-Act-Checkin: gcc X-Git-Author: Alex Coplan X-Git-Refname: refs/heads/master X-Git-Oldrev: cf776eebe86b8b75697de55a6a8ade72ce9f66c5 X-Git-Newrev: 61ea0a89c6face2ce5651e4819adea5d9b613f3d Message-Id: <20231019101515.11F743858428@sourceware.org> Date: Thu, 19 Oct 2023 10:15:15 +0000 (GMT) List-Id: https://gcc.gnu.org/g:61ea0a89c6face2ce5651e4819adea5d9b613f3d commit r14-4742-g61ea0a89c6face2ce5651e4819adea5d9b613f3d Author: Alex Coplan Date: Wed Oct 11 15:57:32 2023 +0000 aarch64, testsuite: Fix up pr71727.c The test is trying to check that we don't use q-register stores with -mstrict-align, so actually check specifically for that. This is a prerequisite to avoid regressing: scan-assembler-not "add\tx0, x0, :" with the upcoming ldp fusion pass, as we change where the ldps are formed such that a register is used rather than a symbolic (lo_sum) address for the first load. gcc/testsuite/ChangeLog: * gcc.target/aarch64/pr71727.c: Adjust scan-assembler-not to make sure we don't have q-register stores with -mstrict-align. Diff: --- gcc/testsuite/gcc.target/aarch64/pr71727.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/aarch64/pr71727.c b/gcc/testsuite/gcc.target/aarch64/pr71727.c index 41fa72bc67e9..226258a76fe9 100644 --- a/gcc/testsuite/gcc.target/aarch64/pr71727.c +++ b/gcc/testsuite/gcc.target/aarch64/pr71727.c @@ -30,4 +30,4 @@ _start (void) } /* { dg-final { scan-assembler-times "mov\tx" 5 {target lp64} } } */ -/* { dg-final { scan-assembler-not "add\tx0, x0, :" {target lp64} } } */ +/* { dg-final { scan-assembler-not {st[rp]\tq[0-9]+} {target lp64} } } */