From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1652) id 286FA3857423; Fri, 20 May 2022 07:34:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 286FA3857423 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Christophe Lyon To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-683] testsuite:: Fix pr39986.c testcase for AArch64 X-Act-Checkin: gcc X-Git-Author: Christophe Lyon X-Git-Refname: refs/heads/master X-Git-Oldrev: 012310aafb24e8ccdc0d979e79bf7c867a52e615 X-Git-Newrev: 4ca320112e4bc6fd65475dea37fd5034e97ace17 Message-Id: <20220520073418.286FA3857423@sourceware.org> Date: Fri, 20 May 2022 07:34:18 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2022 07:34:18 -0000 https://gcc.gnu.org/g:4ca320112e4bc6fd65475dea37fd5034e97ace17 commit r13-683-g4ca320112e4bc6fd65475dea37fd5034e97ace17 Author: Christophe Lyon Date: Fri Mar 25 09:20:06 2022 +0000 testsuite:: Fix pr39986.c testcase for AArch64 The testcase in c-c++-common/dfp/pr39986.c detects if DFP constants are correctly emitted in the assembly. However, AArch64 uses .word instead of the expected .long directive. With this patch, we now accept both. 2022-03-31 Christophe Lyon gcc/testsuite/ * c-c++-common/dfp/pr39986.c: Accept .word directive. Diff: --- gcc/testsuite/c-c++-common/dfp/pr39986.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/gcc/testsuite/c-c++-common/dfp/pr39986.c b/gcc/testsuite/c-c++-common/dfp/pr39986.c index e7c9ce98283..4dfbf2446cc 100644 --- a/gcc/testsuite/c-c++-common/dfp/pr39986.c +++ b/gcc/testsuite/c-c++-common/dfp/pr39986.c @@ -14,19 +14,19 @@ _Decimal128 f = -678901.234e-6dl; /* The first value is DPD, the second is BID. The order differs depending on whether the target is big-endian or little-endian. */ -/* { dg-final { scan-assembler ".long\t(572653859|822183807)\n" } } */ +/* { dg-final { scan-assembler "(.long|.word)\t(572653859|822183807)\n" } } */ -/* { dg-final { scan-assembler ".long\t(-1572863965|-1308622825)\n" } } */ +/* { dg-final { scan-assembler "(.long|.word)\t(-1572863965|-1308622825)\n" } } */ -/* { dg-final { scan-assembler ".long\t(52|34)\n" } } */ -/* { dg-final { scan-assembler ".long\t(572784640|824180736)\n" } } */ +/* { dg-final { scan-assembler "(.long|.word)\t(52|34)\n" } } */ +/* { dg-final { scan-assembler "(.long|.word)\t(572784640|824180736)\n" } } */ -/* { dg-final { scan-assembler ".long\t(4736|4500)\n" } } */ -/* { dg-final { scan-assembler ".long\t(-1574174720|-1319108608)\n" } } */ +/* { dg-final { scan-assembler "(.long|.word)\t(4736|4500)\n" } } */ +/* { dg-final { scan-assembler "(.long|.word)\t(-1574174720|-1319108608)\n" } } */ -/* { dg-final { scan-assembler ".long\t(-1975952433|957645077)\n" } } */ -/* { dg-final { scan-assembler ".long\t(190215|132222)\n" } } */ -/* { dg-final { scan-assembler ".long\t(574193664|835452928)\n" } } */ +/* { dg-final { scan-assembler "(.long|.word)\t(-1975952433|957645077)\n" } } */ +/* { dg-final { scan-assembler "(.long|.word)\t(190215|132222)\n" } } */ +/* { dg-final { scan-assembler "(.long|.word)\t(574193664|835452928)\n" } } */ -/* { dg-final { scan-assembler ".long\t(931280180|678901234)\n" } } */ -/* { dg-final { scan-assembler ".long\t(-1576681472|-1339162624)\n" } } */ +/* { dg-final { scan-assembler "(.long|.word)\t(931280180|678901234)\n" } } */ +/* { dg-final { scan-assembler "(.long|.word)\t(-1576681472|-1339162624)\n" } } */