From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2058.outbound.protection.outlook.com [40.107.20.58]) by sourceware.org (Postfix) with ESMTPS id D99D83856DF2 for ; Tue, 18 Jul 2023 14:43:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D99D83856DF2 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com 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=j2YndzSZ5KZ/T+apCwrgUS5WpWRlY8wcJ38Ve4hUaCM=; b=5pgYKNzY3eTQmxrNuQZBjSXiQot0RBJ767efQQzBAvjDBCrje/9zC04xzUcojwkyloEA1pmk6ytziOVekQnB7uqJ8C/TE4BaSVyLpr6eyeNzXHbBzZuthWt/B3G3P+3SvQb7Rhz97uiubw4G3/02PIdYXXSaSOdjSFlb6mhrUQQ= Received: from DUZPR01CA0079.eurprd01.prod.exchangelabs.com (2603:10a6:10:46a::16) by VE1PR08MB5757.eurprd08.prod.outlook.com (2603:10a6:800:1a4::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6588.31; Tue, 18 Jul 2023 14:43:35 +0000 Received: from DBAEUR03FT009.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:46a:cafe::5e) by DUZPR01CA0079.outlook.office365.com (2603:10a6:10:46a::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6588.33 via Frontend Transport; Tue, 18 Jul 2023 14:43:35 +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 DBAEUR03FT009.mail.protection.outlook.com (100.127.143.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6588.24 via Frontend Transport; Tue, 18 Jul 2023 14:43:35 +0000 Received: ("Tessian outbound d7adc65d10b4:v145"); Tue, 18 Jul 2023 14:43:35 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 2ae1e0499e3054e9 X-CR-MTA-TID: 64aa7808 Received: from 0237b21a6fba.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 889A9E69-1054-484A-AC96-B6C59277495B.1; Tue, 18 Jul 2023 14:43:27 +0000 Received: from EUR02-AM0-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 0237b21a6fba.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 18 Jul 2023 14:43:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iaI5uAdQZqAAc2AWIVs0h+ajczQGhNRBRHBopPT9WOfuGCEYPD8o/uD05ymo33/Bh8JOWo1T1uPUPtnVeBFAGL2C/n9ThZhXEdfOTX5q31yQHRKdLHRcaobSvkkKiW7vLdae4tBFEGM1HKqwzufaMiPg1RSRw4S/RHgBHFV893ngWx7/iIFzgATkyb2T4d0gXk6s+voY/QaDdcm+m6gEr2zGUy9PFWh++7Kk94vCWPQG89395KsjG905q2GrPWITTdIZRAH56WKXYUks29DSKwJFKRlplqXiJwVAjIHL1cqExUKK7Jmyhp7x2XAW6WnuOWCkWC7FVtEG1YaQ4h71yw== 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=j2YndzSZ5KZ/T+apCwrgUS5WpWRlY8wcJ38Ve4hUaCM=; b=GUJwuwRHdsrbg37ufmUDphkjcJss28Ped1Jgln8qWACZjX5Wpjr39886zrmGplaucJCOVlt+311AvrAgCamKjpQng8T3rmIJTZn+LpdApGyl6B4MSWS/xsCwXwmjzSMZbPlQpdVzAM5GOUwGmtSTc4qBIx6m/QiRwQsZJohQZ8CYY5R2/3nXtAkP3GmrozlcMrQOs4e3UGz50hKY3FmZzAZVGuZPu3l2WjHNZtynkjrtSBwQJfMl6azr4oh8+LkEdlyrYYcVdN4zv646g9evBbzwK7hKUN0zdqpDqS58NmnPn5/8vm2V+6HN2X8bwUaZ3+a7mxriUxlTDg1kwelgYw== 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=j2YndzSZ5KZ/T+apCwrgUS5WpWRlY8wcJ38Ve4hUaCM=; b=5pgYKNzY3eTQmxrNuQZBjSXiQot0RBJ767efQQzBAvjDBCrje/9zC04xzUcojwkyloEA1pmk6ytziOVekQnB7uqJ8C/TE4BaSVyLpr6eyeNzXHbBzZuthWt/B3G3P+3SvQb7Rhz97uiubw4G3/02PIdYXXSaSOdjSFlb6mhrUQQ= Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from VI1PR08MB5325.eurprd08.prod.outlook.com (2603:10a6:803:13e::17) by DBBPR08MB6268.eurprd08.prod.outlook.com (2603:10a6:10:202::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6588.31; Tue, 18 Jul 2023 14:43:25 +0000 Received: from VI1PR08MB5325.eurprd08.prod.outlook.com ([fe80::a85:6d3:5dd7:7d3]) by VI1PR08MB5325.eurprd08.prod.outlook.com ([fe80::a85:6d3:5dd7:7d3%7]) with mapi id 15.20.6588.031; Tue, 18 Jul 2023 14:43:25 +0000 Date: Tue, 18 Jul 2023 15:43:21 +0100 From: Tamar Christina To: gcc-patches@gcc.gnu.org Cc: nd@arm.com, Richard.Earnshaw@arm.com, Marcus.Shawcroft@arm.com, Kyrylo.Tkachov@arm.com, richard.sandiford@arm.com Subject: [PATCH]AArch64 fix regexp for live_1.c sve test Message-ID: Content-Type: multipart/mixed; boundary="DXSO31QvkitSuTHJ" Content-Disposition: inline X-ClientProxiedBy: LO2P123CA0016.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:a6::28) To VI1PR08MB5325.eurprd08.prod.outlook.com (2603:10a6:803:13e::17) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: VI1PR08MB5325:EE_|DBBPR08MB6268:EE_|DBAEUR03FT009:EE_|VE1PR08MB5757:EE_ X-MS-Office365-Filtering-Correlation-Id: b4d98ef7-0124-4aa7-665c-08db879d5db1 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: +zQEg0HfNF56HP7C5VfwHFFuTil+SrN1zCAhBoiy8XsXTNT4OtdchedH3oE6WYLnl1H0x/WAQuu0JTizJINssfdPrYbXbmuQZ03Qb13Fbmn28cxlP84e/kTG2ViADgDImt7Qhtz/O7n4Zee/x2JmC+jczNNhtSmD7H6aM4H9+SYizyJ+pRvaYjm6coezrOGztDD6UaLn3OYZQB5A28j0uKy6dsPnjSzwoMDSsa00rWfDgTDiR2RuTSz1Izul9gRwhnY9UoK23uuL2JZC96C7+Hd336FsgS/vHNH4/xFbspuaAJZQm+T+HZYc9WU2uUoKvjSHJFVkJjp25HJxPkxKRHCyDEKQwFXqIpgRRBAr+MYeZWVS/MOmOD7mExUZwIyOHrDtVzx3r/dTHSB0s7KevrdRdOKKqFpaaUsBSvwlNuiUqXSCBgoH+/sWFQ8xGPBKQvtLhWM7EkyVv7N5D7oF9V3QNvteBXgiWOYe7AE6+sLqz5jp7gB4qFDtH0uop2kwWAVwDvLz4w8+TIWXZ5KNG8fr/ZLihl3jn+T7ts6nn16bpjy/RvSZGA7+jmsghcVle6mFvM8v1oYA10RaRtrZsqkyVcLbx3pyZzYkilmj/xkUCGKa5E56awCwZ8yun++J X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR08MB5325.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(396003)(366004)(136003)(39860400002)(376002)(346002)(451199021)(66556008)(478600001)(44144004)(6666004)(33964004)(6486002)(4743002)(6506007)(36756003)(186003)(316002)(6512007)(2616005)(2906002)(4326008)(44832011)(66476007)(41300700001)(66946007)(235185007)(5660300002)(8676002)(8936002)(6916009)(38100700002)(26005)(86362001)(83380400001)(84970400001)(4216001)(2700100001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB6268 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: DBAEUR03FT009.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 87792836-d29f-45b4-1e8a-08db879d56ec X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: F/c7P3gaYuQN6x4SC32AJ7h0hGhIwyu/UA3zEFDGMgzvmdUN5QnOSc5lx0GgbL4dgx57M95P1CxSFFxC8kJKdgdWSftqSY5Puvf65/RlBNLwYmXNRAGWZuKM7h+74JO4vMg4pG89RIn4lb4O4SqgNXnpJQyNsOxzAJ4sVPC6etS4nhbN+lg7p9dyrkxFgDXZraaTpDUa2sM53cDk2fPmFoI/2/pU2LqQvslCXryWxKG/CVz2LLPf9XSYpPDHohIsEd6sPmr2mX1oqaq9MRv2pZHFdPlMDl/FOBfiiqYGqT0+kewie+388ziEbujJbbtVrrqg3qJu3f/naXnyQONuRGsN1fHhI7MejqYj1LQqakTCHP5qzdLCik1wrZ58PnTYo0dlbbK7xCS4S5hnr+Lr3+mPos2/GFhBOzzeROQe71RzGYX4wVp6DuE6r8f1ZUUW8fL2REIv/d1ah1zlsE8PojRYwSeqc5awOaA1K28dkaKWBRFbtpyXsw3h6QxqjwYFPWynGnwcxsCJ/RPEn5O+xYQVv8O10A9Vra4NGIYdHQlOq29D9ti7FiVSnqx7v6Z1ztR29z3QGFvzPBNYPaGxw458DTyPhgr1eSeuBLaaJTmhfObp/ziJYDBi/hQ4E7dfdb9FLcfFgUspJNFLLQXrbjaqcxeR5J9808ep5HNqG3yV7QsAb5yByS21cv+Ve64cu34lMz1gFLVGn/HlPjCQ49PY8UULg8IiR3La61uPKiWlt+4HDlazZdjM+gZX0406r3TtPi+QCxJacabsx6v+PQ== 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:(13230028)(4636009)(376002)(39860400002)(346002)(136003)(396003)(451199021)(82310400008)(40470700004)(46966006)(36840700001)(2906002)(6512007)(356005)(81166007)(2616005)(82740400003)(336012)(47076005)(83380400001)(186003)(6506007)(4743002)(26005)(36860700001)(5660300002)(40480700001)(86362001)(235185007)(40460700003)(36756003)(8676002)(44832011)(4326008)(478600001)(33964004)(6486002)(44144004)(6666004)(316002)(6916009)(70586007)(8936002)(70206006)(41300700001)(84970400001)(4216001)(2700100001);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jul 2023 14:43:35.4423 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b4d98ef7-0124-4aa7-665c-08db879d5db1 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: DBAEUR03FT009.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5757 X-Spam-Status: No, score=-12.2 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,T_SCC_BODY_TEXT_LINE,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 List-Id: --DXSO31QvkitSuTHJ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Hi All, The resulting predicate register of a whilelo is not restricted to the lower half of the predicate register file. As such these tests started failing after recent changes because the whilelo outside the loop is getting assigned p15. This widens the regexp. Tested on aarch64-none-linux-gnu and passes again. Ok for master? Thanks, Tamar gcc/testsuite/ChangeLog: * gcc.target/aarch64/sve/live_1.c: Update assembly. --- inline copy of patch -- diff --git a/gcc/testsuite/gcc.target/aarch64/sve/live_1.c b/gcc/testsuite/gcc.target/aarch64/sve/live_1.c index 80ee176d1807bf628ad47551d69ff5d84deda79e..2db6c3c209a9514646e92628f3d2dd58d466539c 100644 --- a/gcc/testsuite/gcc.target/aarch64/sve/live_1.c +++ b/gcc/testsuite/gcc.target/aarch64/sve/live_1.c @@ -27,10 +27,10 @@ TEST_ALL (EXTRACT_LAST) -/* { dg-final { scan-assembler-times {\twhilelo\tp[0-7].b, } 2 } } */ -/* { dg-final { scan-assembler-times {\twhilelo\tp[0-7].h, } 4 } } */ -/* { dg-final { scan-assembler-times {\twhilelo\tp[0-7].s, } 4 } } */ -/* { dg-final { scan-assembler-times {\twhilelo\tp[0-7].d, } 4 } } */ +/* { dg-final { scan-assembler-times {\twhilelo\tp[0-9]+.b, } 2 } } */ +/* { dg-final { scan-assembler-times {\twhilelo\tp[0-9]+.h, } 4 } } */ +/* { dg-final { scan-assembler-times {\twhilelo\tp[0-9]+.s, } 4 } } */ +/* { dg-final { scan-assembler-times {\twhilelo\tp[0-9]+.d, } 4 } } */ /* { dg-final { scan-assembler-times {\tlastb\tb[0-9]+, p[0-7], z[0-9]+\.b\n} 1 } } */ /* { dg-final { scan-assembler-times {\tlastb\th[0-9]+, p[0-7], z[0-9]+\.h\n} 2 } } */ -- --DXSO31QvkitSuTHJ Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="rb17577.patch" diff --git a/gcc/testsuite/gcc.target/aarch64/sve/live_1.c b/gcc/testsuite/gcc.target/aarch64/sve/live_1.c index 80ee176d1807bf628ad47551d69ff5d84deda79e..2db6c3c209a9514646e92628f3d2dd58d466539c 100644 --- a/gcc/testsuite/gcc.target/aarch64/sve/live_1.c +++ b/gcc/testsuite/gcc.target/aarch64/sve/live_1.c @@ -27,10 +27,10 @@ TEST_ALL (EXTRACT_LAST) -/* { dg-final { scan-assembler-times {\twhilelo\tp[0-7].b, } 2 } } */ -/* { dg-final { scan-assembler-times {\twhilelo\tp[0-7].h, } 4 } } */ -/* { dg-final { scan-assembler-times {\twhilelo\tp[0-7].s, } 4 } } */ -/* { dg-final { scan-assembler-times {\twhilelo\tp[0-7].d, } 4 } } */ +/* { dg-final { scan-assembler-times {\twhilelo\tp[0-9]+.b, } 2 } } */ +/* { dg-final { scan-assembler-times {\twhilelo\tp[0-9]+.h, } 4 } } */ +/* { dg-final { scan-assembler-times {\twhilelo\tp[0-9]+.s, } 4 } } */ +/* { dg-final { scan-assembler-times {\twhilelo\tp[0-9]+.d, } 4 } } */ /* { dg-final { scan-assembler-times {\tlastb\tb[0-9]+, p[0-7], z[0-9]+\.b\n} 1 } } */ /* { dg-final { scan-assembler-times {\tlastb\th[0-9]+, p[0-7], z[0-9]+\.h\n} 2 } } */ --DXSO31QvkitSuTHJ--