From patchwork Tue Oct 17 20:49:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Coplan X-Patchwork-Id: 154531 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp4391052vqb; Tue, 17 Oct 2023 13:50:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGYpEv+9osMCAeBrbOsQpTHFnU5kvKxwts3nv2jXoZ2+qernHcxfd5k+GsO1QDXHN2GPe/Y X-Received: by 2002:a05:620a:3948:b0:770:96a1:5580 with SMTP id qs8-20020a05620a394800b0077096a15580mr3905352qkn.14.1697575823846; Tue, 17 Oct 2023 13:50:23 -0700 (PDT) Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id x17-20020a05620a449100b007705b83d48dsi1744873qkp.683.2023.10.17.13.50.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 13:50:23 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=7NtKPR6M; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=7NtKPR6M; arc=fail (previous hop failed); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 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 9B2563856DC0 for ; Tue, 17 Oct 2023 20:50:23 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2057.outbound.protection.outlook.com [40.107.7.57]) by sourceware.org (Postfix) with ESMTPS id E04F53857353 for ; Tue, 17 Oct 2023 20:49:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E04F53857353 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 E04F53857353 Authentication-Results: server2.sourceware.org; arc=fail smtp.remote-ip=40.107.7.57 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1697575799; cv=fail; b=CsAMbW2um3RJOSwbv5jbhwuaZ0qa/Jh9E3BZaCvRu+PSzpctQKW7+g+4R5MelBK5TAE8HBcDhkV4FHGt5nmKz2Gt0MJZohOmW1oSgo2Ky8YS4SGQEJsXpX1JaIwnkDWMG3kpgV+t63gxTXqer7vrKenFk8nx9+a7/EDwcB3zPa4= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1697575799; c=relaxed/simple; bh=x20q2JHt0wE3LByj/MzorGZprKoP2okvKv0G+J2cmns=; h=DKIM-Signature:DKIM-Signature:Date:From:To:Subject:Message-ID: MIME-Version; b=ulmY5zwEIYlX17G9t/39J8axbv9i+N1OujVUImIPyDIkPx+ZvVodU0somfPv2NV/LKD8Affp4KwYpM5f8BOlIj1BqrSLFJFvEodkIBB0TdVZobWC1puB+Nn3DRCDLNY3gMoxZY/T4jkKt18ttgYPRPXIngHmQxite1qqsXJAgMM= 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=8m4giZbyc9zkV8JySTHP+lAuJPd3bQ4ZIC3+o05Pk/4=; b=7NtKPR6MZEMSFkQSE3E2h/hN7CTFx4nsVqZTqBi8Tc/njL4/NTRnxSswRMvWH0mMpYB3Lma5OxA4cNhle4zfkdaGQT6/2pDZ0VEAvhbu30egjvIISYVgxFykaca1G7f1P6eieiR2cgTEAKef1aH2vogObF3ZwTzDtBFnrtTO/Z0= Received: from AS8PR04CA0064.eurprd04.prod.outlook.com (2603:10a6:20b:313::9) by PR3PR08MB5706.eurprd08.prod.outlook.com (2603:10a6:102:80::24) 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:55 +0000 Received: from AM4PEPF00027A5F.eurprd04.prod.outlook.com (2603:10a6:20b:313:cafe::e4) by AS8PR04CA0064.outlook.office365.com (2603:10a6:20b:313::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.35 via Frontend Transport; Tue, 17 Oct 2023 20:49:55 +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 AM4PEPF00027A5F.mail.protection.outlook.com (10.167.16.74) 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:54 +0000 Received: ("Tessian outbound ee9c7f88acf7:v211"); Tue, 17 Oct 2023 20:49:54 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: a5311026959dc1a6 X-CR-MTA-TID: 64aa7808 Received: from c20dbfe75337.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 0C633AD8-5AB1-40BD-83B6-C813A827FA56.1; Tue, 17 Oct 2023 20:49:47 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id c20dbfe75337.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 17 Oct 2023 20:49:47 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OSn18VaLP3I758NnPZHUovmMO5RYsmmx44FxiDdfw9GukkiMZ5JVPWfCCK6Mt4O6fF/nhtQLNledNiIvUUgrp7QNi9D8arXNrcvKQULc/+f+atuFjNHvQLH42MWEdIXjpKVx0E/NkTw23bTNxjjtuGJxtRPzdeymCZUci8gqS1CjjLFZn743t+TETG3Dz8t0TNF6lEVjzrkH3RoTTWuyq38Azdufrm29hG/tCzUnjn+jUVv35/wdL2Guqmynlhkg8aIzaVAuk28ynPvtyzmYIIkbhgcwTIp6UZdTQvByyAvHOExDS5HUTlfC+T+LiviwaciX3BkpWrY2ieqiF4w85w== 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=8m4giZbyc9zkV8JySTHP+lAuJPd3bQ4ZIC3+o05Pk/4=; b=YpE3EAl24weX2q1AOFQqpEzR60kPPFm9QewL5Bx0WiVyoKd+f1bxyLpgRuaDGqkKoTpuGwvLGBbthY3j4ZUIDhX2OgzOiNrLYlSqIzv/Uwifff5W3EK35NAbx3a2ROjbdpXNAP/b1e5hLtVrM2CQHhFKXlL5moUllkHW+c4u0zDP93QHQ93CublMDeIWRPiRsd3AMO6AdS0kebPLvGBwBcfGMMLLh7SkczXFIrQuXfIdZSqJbLv5zsZyDnPwClJq6R0BdmIPlW7FxMuCz4fVLDP4GnDabOvf0MfK5qulnXxq9oyCqStDw3dkvFoD+cllZoobDMLPNnGSZdWUWwBymQ== 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=8m4giZbyc9zkV8JySTHP+lAuJPd3bQ4ZIC3+o05Pk/4=; b=7NtKPR6MZEMSFkQSE3E2h/hN7CTFx4nsVqZTqBi8Tc/njL4/NTRnxSswRMvWH0mMpYB3Lma5OxA4cNhle4zfkdaGQT6/2pDZ0VEAvhbu30egjvIISYVgxFykaca1G7f1P6eieiR2cgTEAKef1aH2vogObF3ZwTzDtBFnrtTO/Z0= 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:45 +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:45 +0000 Date: Tue, 17 Oct 2023 21:49:42 +0100 From: Alex Coplan To: gcc-patches@gcc.gnu.org Cc: Richard Earnshaw , Richard Sandiford , Kyrylo Tkachov Subject: [PATCH 09/11] aarch64, testsuite: Fix up pr71727.c Message-ID: Content-Disposition: inline X-ClientProxiedBy: LO2P265CA0150.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:9::18) To PAWPR08MB8958.eurprd08.prod.outlook.com (2603:10a6:102:33e::15) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: PAWPR08MB8958:EE_|AS4PR08MB7580:EE_|AM4PEPF00027A5F:EE_|PR3PR08MB5706:EE_ X-MS-Office365-Filtering-Correlation-Id: 0efaba84-3328-42df-1e2e-08dbcf529dde 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: rBGwqBl9ENJY7ip4hnzdIdvismXa8KxV4QVfo/slTcUeyZ4G5AqQ5J9Z04mxk0qwDwNGlNpl0sN2bUK3+A6oos/3w767SXpAmoVzIyCmydYHKmymcXFlc7XWMrDV42UXGqLX3PFQ9l08WUelPTv7IaBQyY3JJT0XopSCy5TASdpkCgx9qydSlpV389ZEpqMEzi60TX1OBpB/vTDgARGzdtOVforIcpZbAXIL6RMkcijPp/09gQHyf/B50xFOOgmaGhKsoNhP8l2VbVL4LcE/X8PGEFF6Wdi04Uo42KIbNk3RtkNNDToKL2IYjD4F5JQ7gZ8ejy3cMYyB1xwPHk/cGuLRJfIXIkKxBlX4GJM24JRGX7xqptz62ptXdO1emtZcDXR1csQLRqr4cLbjIMwgjOW3G0N0CvV+JymVLYfqfZUPObCrN4Z5WgGL/BRJU676M7md7iZuUa9BGdln+mfa9ipkxeiKmYVCpfHSf1ANJyKqesu5M9eatFr1M28rQwvrEXCZZeof6tf0MLr1HSsSCzLs56/nVH9KKPCTpGujRlW5h1OPyVLMoWeZ6o4koZsaLh6SKbJPMOH0kcUHccP9K7wut2MtlaTf6k8wY9wq/dfZbf7S9HoEPfU3p6IXh732 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)(67856001); 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: AM4PEPF00027A5F.eurprd04.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 02d58e7e-ca81-419d-5904-08dbcf529887 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rW9mHfQZFT2HqZFy27h8WXg/sBVA+We+Fnjbac+Uym+tbo0hb0t6+L4maZHZQgc9qZuOB8UMHNmRJRcF5yG7une2V/9awO49l7be3xba5hRqrIIiY+m6qmPzGh9IdRQ2kvvq0gTXiasjkR9yVujOF9DhpO/V/YMjXO1qY95V6V0tXsJI5GbJB72XCBsorPZTh2OLyOKBGltTZmGzHrQsVsV/8MRP/OcQ20CEBvZvcchKfGsWjr/QObb3211TrWlF0x12DcT1bTDtEEArS2Rc5jWKMaxKDbGVV5xQOXgOnHwPjlnsHR6BydneC081TY0y5Tx0Y18uCSF9LeD/jYnNyVZe3xUFdNIJPWiz/kdagsSbbvhMWnlWxtlN47YeqyPQ+EWgTPAMALSeifctZ5Bz8zpLtBuMWqRGV2nPB79tmKfXXdw41uUGTmXfuIWeLBWZJTtepksZndOMJs0MvVjfp2WadBJVSiE3FIiONPIryqP9NwPfELUY421QPl5eP9XKArskDrJBW28ztqq1o+nBGSy5fY64JiBorAJYRkN1Stp8K97/PwQEgxB603cZ4AP3hLHNLZmDtK/yw2bTxoBpbe9jAQ4d9YPyhBQLius8vcsnIGhNjNzBB4DqaOFXVF/lAX56dNmr39Oy6gJNu4pY4xwBtHdKWZRFoJRV+61jYCWi3/B77FLGtYSyxETsyFcFrsCwGg4rsotBgljJvh/WyPN5bWjtXSg9Zubd/mNz+nzZ1hBEeoUSGY9cQGmkmmEXc0/0SgnfH0LGbk6ROAzM8Q== 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)(39860400002)(396003)(346002)(376002)(230922051799003)(82310400011)(186009)(64100799003)(1800799009)(451199024)(40470700004)(36840700001)(46966006)(6512007)(36756003)(40480700001)(84970400001)(40460700003)(6916009)(54906003)(70206006)(70586007)(86362001)(81166007)(356005)(82740400003)(36860700001)(316002)(33964004)(83380400001)(44144004)(336012)(8936002)(26005)(2616005)(6666004)(6506007)(8676002)(2906002)(6486002)(478600001)(235185007)(4326008)(5660300002)(44832011)(47076005)(41300700001)(67856001)(2700100001); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Oct 2023 20:49:54.5435 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0efaba84-3328-42df-1e2e-08dbcf529dde 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: AM4PEPF00027A5F.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR08MB5706 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780037267005444674 X-GMAIL-MSGID: 1780037267005444674 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. Bootstrapped/regtested as a series on aarch64-linux-gnu, OK for trunk? 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. --- 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 41fa72bc67e..226258a76fe 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} } } */