Message ID | ZS7zS9xTDJNnjpQl@arm.com |
---|---|
State | Accepted |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp4390826vqb; Tue, 17 Oct 2023 13:49:56 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGhDyq4MBy4hokaR6096q3GdXjpEnss2GCJfmH74Tir2jA21t2n/AkB8QqL/DErakp8M1e8 X-Received: by 2002:a05:622a:190e:b0:412:a69:3a01 with SMTP id w14-20020a05622a190e00b004120a693a01mr4562377qtc.6.1697575796322; Tue, 17 Oct 2023 13:49:56 -0700 (PDT) Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id i5-20020ac85c05000000b0041020b894b6si1702307qti.101.2023.10.17.13.49.56 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 13:49:56 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b="T/F5BsO2"; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b="T/F5BsO2"; arc=fail (previous hop failed); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 130A43857438 for <ouuuleilei@gmail.com>; Tue, 17 Oct 2023 20:49:56 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2062.outbound.protection.outlook.com [40.107.249.62]) by sourceware.org (Postfix) with ESMTPS id CCBA7385AC3A for <gcc-patches@gcc.gnu.org>; Tue, 17 Oct 2023 20:49:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CCBA7385AC3A Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org CCBA7385AC3A Authentication-Results: server2.sourceware.org; arc=fail smtp.remote-ip=40.107.249.62 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1697575772; cv=fail; b=H1ITsaDqzmjAA8Oo9Xzr6xnB3p2XJCkead7CrfQ/oExXhI+sqJjaegjf6Ed6lWxq8SadO7lSk6O+LUwqtgz/vjW5TqlMQs70CwK6ZkGxv/58civncmnvTB2DXwQ8/6kYqBxqnzKiXdCxBO672nkn6K2y3+piFIbbYrOIzj2mEUo= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1697575772; c=relaxed/simple; bh=fmI7XlXeTV7s/7UrPVEEZ7nkHPkMLh3d/5QYcHQBnGI=; h=DKIM-Signature:DKIM-Signature:Date:From:To:Subject:Message-ID: MIME-Version; b=giNRupW6qJzkiG/X10dSOGF5LhSYkJldPkjPIOTJ3xKKfjzK+CRlVgAMli3JFwBJGk0dohzAkH3sf4tGWYwhNr8lV9dDJ1cULuS9Ye2ZDbgszL4crzB4vR1aYFsNX6ZFqQQFOlDC40xwdUFj53r5TQVS69ExH0yDNhqRP5+vhho= ARC-Authentication-Results: i=2; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=i7nrdK6ymFu9odJnVWfyHdKL/TTnticLhFlB+POv21M=; b=T/F5BsO22F1+ysuWEYPTMmrW+K5TTv3cDkr9eUGHDtfI8h5nE3cIYWkyutDD+Bdr3pH3a7giyn0Hf1MfCmhAgS2yWFGt6tZQwDJXEWymBbwdt5qmzqOOJ0zNi4FFEN+e9h48HNmyFC62IqF++urArLTiQMg1JzXmv3eAmMnCdnQ= Received: from AM0PR03CA0022.eurprd03.prod.outlook.com (2603:10a6:208:14::35) by DB5PR08MB10311.eurprd08.prod.outlook.com (2603:10a6:10:4a5::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.35; Tue, 17 Oct 2023 20:49:28 +0000 Received: from AM7EUR03FT025.eop-EUR03.prod.protection.outlook.com (2603:10a6:208:14:cafe::d5) by AM0PR03CA0022.outlook.office365.com (2603:10a6:208:14::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.21 via Frontend Transport; Tue, 17 Oct 2023 20:49:27 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM7EUR03FT025.mail.protection.outlook.com (100.127.140.199) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.20 via Frontend Transport; Tue, 17 Oct 2023 20:49:27 +0000 Received: ("Tessian outbound fb5c0777b309:v211"); Tue, 17 Oct 2023 20:49:27 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 47c8c1601173dae9 X-CR-MTA-TID: 64aa7808 Received: from d66bf805847b.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 26DC5260-E70B-4AAD-92ED-E802F05B416F.1; Tue, 17 Oct 2023 20:49:20 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id d66bf805847b.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 17 Oct 2023 20:49:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WmwRLW05CyaoB3/y96K8kbaKPKloFfBva5lW5lJ035nK+8OWMjtxISZzsFdt3F7HCXBRVZBo2xlhphde/SvYJ1BRExZCK1mK6UPX0FmHFtsoFmeYOw3BjIY/aabMXPBIbaImiWWO3wS1SpHAUcym6TYEkL+nrbB3JH06syQBcblpW5bUc5Jwa6js0nvdHn/EnZ2QgfzixvMJmrdrWgsKSFpiCyqiWKAD4j+aVIrgoHnCuroIW/vQEmYhifH2xSdgjd2G8BtYPs6G4SQPeRoeZnb2TnY/Mz2BEpbfoHaZAuUxfEqJlpdtBITU4eFManY2w7n+D7lpp1D3guyeQSd0gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=i7nrdK6ymFu9odJnVWfyHdKL/TTnticLhFlB+POv21M=; b=hQz57WJhJXKprHs3uUagkzd1KJSU63fxRxLN4M7qdMib4TsUTBrU2XvGYkOk3Ubk3Zwu9kvZ5yGkyEZIU2H+gRfRBEG0JJ3hx9H4PKvO8GTugnKyUuHTzYOw1D5bkZC8ub377ArqtWyZoBe0c9viEaN9NaHTmZlPynA6EzsZPZg6k3Sc4RGC1MKpI4uzEUHbOe26uBqsg9sqe/ngx4FmG/cVtdBAHT7wO7Z9ADnAvRn1purdCfnAdTjc2tu3FSDIt8nmIZMbORmzmb6+FFfeIHHBs7VmCQqga8sUEihrSGBr2H0KAWuwJuoi12sNHuNGugqIxO8IXtWFPnnCzwVz4g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=i7nrdK6ymFu9odJnVWfyHdKL/TTnticLhFlB+POv21M=; b=T/F5BsO22F1+ysuWEYPTMmrW+K5TTv3cDkr9eUGHDtfI8h5nE3cIYWkyutDD+Bdr3pH3a7giyn0Hf1MfCmhAgS2yWFGt6tZQwDJXEWymBbwdt5qmzqOOJ0zNi4FFEN+e9h48HNmyFC62IqF++urArLTiQMg1JzXmv3eAmMnCdnQ= Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from PAWPR08MB8958.eurprd08.prod.outlook.com (2603:10a6:102:33e::15) by AS4PR08MB7580.eurprd08.prod.outlook.com (2603:10a6:20b:4ff::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.36; Tue, 17 Oct 2023 20:49:18 +0000 Received: from PAWPR08MB8958.eurprd08.prod.outlook.com ([fe80::f41:4ae1:dba2:70f4]) by PAWPR08MB8958.eurprd08.prod.outlook.com ([fe80::f41:4ae1:dba2:70f4%6]) with mapi id 15.20.6863.046; Tue, 17 Oct 2023 20:49:18 +0000 Date: Tue, 17 Oct 2023 21:49:15 +0100 From: Alex Coplan <alex.coplan@arm.com> To: gcc-patches@gcc.gnu.org Cc: Richard Earnshaw <richard.earnshaw@arm.com>, Richard Sandiford <richard.sandiford@arm.com>, Kyrylo Tkachov <kyrylo.tkachov@arm.com> Subject: [PATCH 08/11] aarch64, testsuite: Tweak sve/pcs/args_9.c to allow stps Message-ID: <ZS7zS9xTDJNnjpQl@arm.com> Content-Type: multipart/mixed; boundary="vG/M+xIvoeZzJ75n" Content-Disposition: inline Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO4P123CA0277.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:195::12) To PAWPR08MB8958.eurprd08.prod.outlook.com (2603:10a6:102:33e::15) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: PAWPR08MB8958:EE_|AS4PR08MB7580:EE_|AM7EUR03FT025:EE_|DB5PR08MB10311:EE_ X-MS-Office365-Filtering-Correlation-Id: 2a724470-d7ae-494e-ce62-08dbcf528de5 x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: lv6Vp2e//xDbdzZY3Qtn1p/tviPul41mvoRjJV85pD3tR1+jvSgnbv9sAw7X8nHoQAgGRQyWJRoqaBgFqoGLIQbrRvuiO9hHcUHjfPbJHjihqDCQcktDUdduW3v28eODg+G5NxTGXVtI/XMPMM73ErRsv3ESRMgDU+Jzr8YnjNpDkN9LvMUgRmmhLKZ79a1zPW2wXHBX/xKqLPL6/Jcos7o3xipfyWKRe9fJ04ynzWnePugSz8jC54TxX+cKgz6MwtuxDmvgU5N9DRjmk87BfRoLIizxAntb9w1p+vO+zwCoA/6/tUrdAnEGk9m3LUNVoF93mBTHVeeLZIuVL38U9eD+nfucv6Omb8+CiDgwNqix7FhHB4xnQn1e5mtd7bgOLyjMLyvNBwji4QiVRoLlBNix7mqXKF+pFtvxv2jDJlaBzXz3nj5GhdhsqL+kHYX8Is4hrENMxVCC0IlZnTNxJQsSd9KPpmmsgfWAICV78rtS37bn5r/8oQvYQV/blWrfLMmxJDy9eGXEVIdp+y4fLDnejAnCR3kJDSS02oLFbj8k4kzM6eF6EfLJMxB0BHL2YD6NitZ1QAPAaZ4jn2BObYbZQPdsOpLg4MMEp7Qp8m0= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAWPR08MB8958.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(346002)(396003)(366004)(136003)(39860400002)(376002)(230922051799003)(64100799003)(451199024)(1800799009)(186009)(316002)(54906003)(66556008)(66946007)(66476007)(8936002)(8676002)(6916009)(38100700002)(6512007)(6666004)(478600001)(2616005)(6486002)(44144004)(33964004)(6506007)(83380400001)(4326008)(26005)(235185007)(2906002)(5660300002)(44832011)(86362001)(41300700001)(36756003)(84970400001)(2700100001); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4PR08MB7580 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM7EUR03FT025.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: a1172b43-1151-43b0-1e35-08dbcf528861 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 26pihj81a+swTPioIaKHtVI6qAY6Mf21CJc0xU49lNUJYzFYjeRfYQimQ/JEW9/W3x3g26ofXE/0/HJminDi8vRD33VqVr/CNhAzCJZ06n5lWweYobinNeODt1iT8NDBjI8IEkAmkU5O0p8Q3VdbPBcIFIfkqqM/23OezlTWnFz+PcQ/wX+3RAGG4/ci+haawGG8ozQAgtu/zxyh5kBq+hvzVafwY7HxHPyWfvOMzxdAbZBmRRFSNMvsyymALT+zaCnbKvKgko6wM5OySGW8v+k0PP7UgATj4VVGdwDvsm0vg50hAbQ8o+sW/n+sZNzdsee7QJ/0kKyLvxnSF/clBKZ+0GxQ+r4ULyW6tdDpeMjlcJdGmjaCW+269pRbZhfdATv8YhRmSa/oK42/Vk03g+I11pa6oHneQ94OcJDoN56uH+82cA5BhLjDZl4SQiSTqZ30cNKrOXKmpmhF7ceAPgQp4zIG88IC4r9/GGWDx502XN9wGmtrSkNBayJPjyIEoAa7GJm0uRLaQwsLWwdcuvV4c1nLFmSDOu7CIFWXg9j2Kf+KIgB2zD+e3/swMvFJ9iQUajvbBbJOObBHX7NByRrqgdhlmis9wr1c784vnNkwKeUZUVTLBo66k+jgZW/Pnm/YbcS7/djesZwvu9g39gtHdGKg+H5LnPEk7nD8RagTG5UaUPXZTbRwR1DwUAtwH24SIaq8v11EO9xAIhaUSFSPqgzzNVmVtH8atG2hSFxP/glRA15h2ME4tyqYmDrV X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(13230031)(4636009)(136003)(346002)(39860400002)(396003)(376002)(230922051799003)(451199024)(64100799003)(1800799009)(186009)(82310400011)(36840700001)(40470700004)(46966006)(84970400001)(86362001)(36756003)(40480700001)(26005)(40460700003)(336012)(2906002)(6486002)(478600001)(33964004)(6506007)(44144004)(44832011)(41300700001)(81166007)(5660300002)(82740400003)(356005)(6666004)(2616005)(36860700001)(70206006)(235185007)(8936002)(316002)(8676002)(70586007)(6916009)(4326008)(54906003)(6512007)(83380400001)(47076005)(2700100001); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Oct 2023 20:49:27.7348 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2a724470-d7ae-494e-ce62-08dbcf528de5 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM7EUR03FT025.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR08MB10311 X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, FORGED_SPF_HELO, GIT_PATCH_0, KAM_DMARC_NONE, KAM_SHORT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_NONE, TXREP, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780037238328698709 X-GMAIL-MSGID: 1780037238328698709 |
Series |
aarch64: Add new load/store pair fusion pass
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
Alex Coplan
Oct. 17, 2023, 8:49 p.m. UTC
With the new ldp/stp pass enabled, there is a change in the codegen for this test as follows: add x8, sp, 16 ptrue p3.h, mul3 str p3, [x8] - str x8, [sp, 8] - str x9, [sp] + stp x9, x8, [sp] ptrue p3.d, vl8 ptrue p2.s, vl7 ptrue p1.h, vl6 i.e. we now form an stp that we were missing previously. This patch adjusts the scan-assembler such that it should pass whether or not we form the stp. Bootstrapped/regtested as a series on aarch64-linux-gnu, OK for trunk? gcc/testsuite/ChangeLog: * gcc.target/aarch64/sve/pcs/args_9.c: Adjust scan-assemblers to allow for stp. --- gcc/testsuite/gcc.target/aarch64/sve/pcs/args_9.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Comments
Alex Coplan <alex.coplan@arm.com> writes: > With the new ldp/stp pass enabled, there is a change in the codegen for > this test as follows: > > add x8, sp, 16 > ptrue p3.h, mul3 > str p3, [x8] > - str x8, [sp, 8] > - str x9, [sp] > + stp x9, x8, [sp] > ptrue p3.d, vl8 > ptrue p2.s, vl7 > ptrue p1.h, vl6 > > i.e. we now form an stp that we were missing previously. This patch > adjusts the scan-assembler such that it should pass whether or not > we form the stp. > > Bootstrapped/regtested as a series on aarch64-linux-gnu, OK for trunk? > > gcc/testsuite/ChangeLog: > > * gcc.target/aarch64/sve/pcs/args_9.c: Adjust scan-assemblers to > allow for stp. OK, thanks. Richard > --- > gcc/testsuite/gcc.target/aarch64/sve/pcs/args_9.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/gcc/testsuite/gcc.target/aarch64/sve/pcs/args_9.c b/gcc/testsuite/gcc.target/aarch64/sve/pcs/args_9.c > index ad9affadf02..942a44ab448 100644 > --- a/gcc/testsuite/gcc.target/aarch64/sve/pcs/args_9.c > +++ b/gcc/testsuite/gcc.target/aarch64/sve/pcs/args_9.c > @@ -45,5 +45,5 @@ caller (int64_t *x0, int16_t *x1, svbool_t p0) > return svcntp_b8 (res, res); > } > > -/* { dg-final { scan-assembler {\tptrue\t(p[0-9]+)\.b, mul3\n\tstr\t\1, \[(x[0-9]+)\]\n.*\tstr\t\2, \[sp\]\n} } } */ > -/* { dg-final { scan-assembler {\tptrue\t(p[0-9]+)\.h, mul3\n\tstr\t\1, \[(x[0-9]+)\]\n.*\tstr\t\2, \[sp, 8\]\n} } } */ > +/* { dg-final { scan-assembler {\tptrue\t(p[0-9]+)\.b, mul3\n\tstr\t\1, \[(x[0-9]+)\]\n.*\t(?:str\t\2, \[sp\]|stp\t\2, x[0-9]+, \[sp\])\n} } } */ > +/* { dg-final { scan-assembler {\tptrue\t(p[0-9]+)\.h, mul3\n\tstr\t\1, \[(x[0-9]+)\]\n.*\t(?:str\t\2, \[sp, 8\]|stp\tx[0-9]+, \2, \[sp\])\n} } } */
diff --git a/gcc/testsuite/gcc.target/aarch64/sve/pcs/args_9.c b/gcc/testsuite/gcc.target/aarch64/sve/pcs/args_9.c index ad9affadf02..942a44ab448 100644 --- a/gcc/testsuite/gcc.target/aarch64/sve/pcs/args_9.c +++ b/gcc/testsuite/gcc.target/aarch64/sve/pcs/args_9.c @@ -45,5 +45,5 @@ caller (int64_t *x0, int16_t *x1, svbool_t p0) return svcntp_b8 (res, res); } -/* { dg-final { scan-assembler {\tptrue\t(p[0-9]+)\.b, mul3\n\tstr\t\1, \[(x[0-9]+)\]\n.*\tstr\t\2, \[sp\]\n} } } */ -/* { dg-final { scan-assembler {\tptrue\t(p[0-9]+)\.h, mul3\n\tstr\t\1, \[(x[0-9]+)\]\n.*\tstr\t\2, \[sp, 8\]\n} } } */ +/* { dg-final { scan-assembler {\tptrue\t(p[0-9]+)\.b, mul3\n\tstr\t\1, \[(x[0-9]+)\]\n.*\t(?:str\t\2, \[sp\]|stp\t\2, x[0-9]+, \[sp\])\n} } } */ +/* { dg-final { scan-assembler {\tptrue\t(p[0-9]+)\.h, mul3\n\tstr\t\1, \[(x[0-9]+)\]\n.*\t(?:str\t\2, \[sp, 8\]|stp\tx[0-9]+, \2, \[sp\])\n} } } */