From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2044.outbound.protection.outlook.com [40.107.7.44]) by sourceware.org (Postfix) with ESMTPS id AEA093858D1E for ; Wed, 17 May 2023 13:41:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AEA093858D1E 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=EwuAnuopNY2nugTA7zwscXL8OfJsVKjW2Y+RJDk1rfg=; b=X+YTYgLyfwLxu31r1z6tciFuBdJVLCypW/igSOzP98v+AGTeNQO+LXtEpVwSzFIjRSposiV7hg7GwHSATOje3CSHCegqASUeQ8cqin07oyUs/VxPOlk00yhdUYS/54LM9rBdg+V4MLzIHpIXL5efGBgXqH9lvY2GzkwmORd/96o= Received: from DB7PR05CA0039.eurprd05.prod.outlook.com (2603:10a6:10:2e::16) by GVXPR08MB7895.eurprd08.prod.outlook.com (2603:10a6:150:17::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.32; Wed, 17 May 2023 13:41:42 +0000 Received: from DBAEUR03FT016.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:2e:cafe::1a) by DB7PR05CA0039.outlook.office365.com (2603:10a6:10:2e::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.33 via Frontend Transport; Wed, 17 May 2023 13:41:42 +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 DBAEUR03FT016.mail.protection.outlook.com (100.127.142.204) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.18 via Frontend Transport; Wed, 17 May 2023 13:41:42 +0000 Received: ("Tessian outbound 945aec65ec65:v136"); Wed, 17 May 2023 13:41:42 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 26872e545b580a9e X-CR-MTA-TID: 64aa7808 Received: from 1c772bf72f78.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 794F5445-85E5-4180-AEE4-A3A6933D7EA7.1; Wed, 17 May 2023 13:41:35 +0000 Received: from EUR01-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 1c772bf72f78.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 17 May 2023 13:41:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Vkhl1OR3dUwR4wDxFiSXnt83zaUQU6yyj25m0c99LAiyJUOQn8zizShWFaZwOoJbIRpQ/PIgvHIPmWF23Xci0lGtOb9MHWiUbxyM8ML2RIVLX/m19fMnH5/NI5Ep/ceFJb2KXSxI+YmC4VulRz+ubgsIhV800qTbfLhts9J3Q4Bn6/F68ukPTH9FVhE4S83DahGVrASwTgosgNOEG4BW3LUO35uwEdRnbdNfiuCj1cBA2bTD1q7NC9FCf1Be+o3CbltxyjH5Axh4uJSYZEDi8rRYcLTzW+QAlYkFNzNkj67yavSujEfSVza2Th7R9fB2jlYZBDzvc/zpfVkb4Wglww== 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=EwuAnuopNY2nugTA7zwscXL8OfJsVKjW2Y+RJDk1rfg=; b=YIV9Vh4EdPiqLeDNfAgCOGqJka+Ipn6oOdHlG8F1JkABONHAM8HT9BVYUVHwjcBco/QOBOiSJbCwdeDtlwdgZ20Gzy9NbU5mCdDOBF08P4vIJUtFdFvrCIUz5IE9XMyVOo+t7scWVyVQK/RiLnDmoOU0n7ESH3/2MQ/rv1FdR81xm6d+zDFpLgYurqz7i+SOSovhxXJjxROaM9S9uap16Tn2GCKJH+gSdIWVb52DUGdb0Cz3XPnz+apcRpwGARxe36YuMgXRgp6TK1alrqm5p/z5r/EjvC3CCeMXv6ewFxvahemkH2AGkUkVr4V+Bnbbsp51splSFgo9FMqXCR2e/w== 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=EwuAnuopNY2nugTA7zwscXL8OfJsVKjW2Y+RJDk1rfg=; b=X+YTYgLyfwLxu31r1z6tciFuBdJVLCypW/igSOzP98v+AGTeNQO+LXtEpVwSzFIjRSposiV7hg7GwHSATOje3CSHCegqASUeQ8cqin07oyUs/VxPOlk00yhdUYS/54LM9rBdg+V4MLzIHpIXL5efGBgXqH9lvY2GzkwmORd/96o= Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from DB9PR08MB6507.eurprd08.prod.outlook.com (2603:10a6:10:25a::6) by AS4PR08MB7655.eurprd08.prod.outlook.com (2603:10a6:20b:4f1::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.32; Wed, 17 May 2023 13:41:33 +0000 Received: from DB9PR08MB6507.eurprd08.prod.outlook.com ([fe80::9f9c:a12a:8291:5530]) by DB9PR08MB6507.eurprd08.prod.outlook.com ([fe80::9f9c:a12a:8291:5530%6]) with mapi id 15.20.6411.017; Wed, 17 May 2023 13:41:33 +0000 Message-ID: Date: Wed, 17 May 2023 14:41:27 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: [GCC12 backport] arm: MVE testsuite and backend bugfixes Content-Language: en-US To: Kyrylo Tkachov , "gcc-patches@gcc.gnu.org" Cc: Richard Earnshaw , Andrea Corallo References: From: Stamatis Markianos-Wright In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0101.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:191::16) To DB9PR08MB6507.eurprd08.prod.outlook.com (2603:10a6:10:25a::6) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: DB9PR08MB6507:EE_|AS4PR08MB7655:EE_|DBAEUR03FT016:EE_|GVXPR08MB7895:EE_ X-MS-Office365-Filtering-Correlation-Id: 4711337b-cb34-414c-be9c-08db56dc72cb 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: E+OFt+9JO0Rgp+0B4tUZHuNsH5uVjuQy4DIEzWXgDu8SlVySZose+MV18WmIHI4H/p+FrTfAzKFvt+yWkBhMuBRlMcCaFVMF5VtPtOj8+2gP3H5m8fEDKKdYV/zDBYEsYW8HPgp5aMFGQpP0y8X2jUWGQHBzLHIf54+RmgiHaUsnNsA+jVaATjE4XBjRmZFEmO3Zp3WS6CRudQF4THkGBSJ/sKshl3ADrWvCUCR45ovKXC3/QvYUZpRpf9ExIAsJsQkqZ4GaNIJOqEdvQnnpunR4YDVzEKTaGzesZUd62R82UxOGmCW6/zQxzfy1tDmy/pCDqaBIag9Kt4Wn7efY7sAL5bg5CaghzVJQrBVaPOxvmxJJH+dmG+AQLyEKG/3MMdoCp2B/r+gBbCKnmY+9N7TImK/SQAFMucyoyNpW4cQDqXZcOayRl/dJSZZw3teOB25qm4/g3UgVqL1t3Qs7Pcg7VWk6EKRntfUKmbqoCHEnkYr0XOO56xds2a4/l9imhVKYEVDfsqyKa9ZtdIuWMLdQ2iTpuhlLzuR5QdHIKERD75Xd1islqe7TeNv2lsaJXOsNCZyqwNyZXz4Q7joTOpqmAJTFyjCSbczwJXLQy2iEqEd3exMnOq1lSO5RZXOwpbFrc3gXMYsqzACRaHLIWc4jw6jl/J1OS1iK2JDXKp5wEzcZuc8A9o1soFiYU+ub X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB9PR08MB6507.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(376002)(366004)(346002)(396003)(136003)(39860400002)(451199021)(38100700002)(478600001)(6506007)(2616005)(83380400001)(6512007)(53546011)(26005)(36756003)(6666004)(6486002)(186003)(966005)(316002)(41300700001)(4326008)(86362001)(66476007)(66556008)(66946007)(2906002)(31686004)(5660300002)(31696002)(8676002)(8936002)(54906003)(110136005)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4PR08MB7655 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: DBAEUR03FT016.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 7ceff2ec-9912-4228-d21a-08db56dc6c83 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: gQrBDzVFFBth9vU+P3BUMZdneWfxFtUCkDUDQPo2/eXEtq+9kLyfYw7kOy4Pooa4NMeeY4RDYGMfodpbn+xq6F5qiHIbAnZG59SXz6qdBIQpeH78V/+GNYZ3kt+v27Zh0M6Nw3edbsrq9uTYbystIcZVngiuak84PwBBVA/t8giqqxWYiE8p8qS66ZsslGKpzs8+rFBL2NtT8Lo3y52UGW0d+BCsrnYKbXd7nRFs4hOm+k3Hf5KQPj12eT0Lhl9dbGX+9k46b3YOgnZo7BlnOzXV9uJuBcaiZghFLlllts4jsikGneojoxV2l/jL1B+lgTUQRPC6a4+FIttZpGM6v0u3BnyKCYNmNse/y/iXMM4++9JFrfUHBv5RuF3oggHDG07DLYdkc6wSUfQDlwa2JrMjrTvkP9GFNANWmjU49Qu15b8Ds9JL05shoRTeMT7pj+lgtIi0iMdl6cyuiGCOxMJq1VGftJnCOMBhyBuCAuTkDOij+i0EnHPScL2eHfKlM6NatkJy6+FD4nTRt9fa8whhJIe8OSDQ7Ihvj/whzINg/MyTaj5uhtA8bif2N24ZL9+oFbXF8836pbUIUQqlM84rNpc+dIMobprqcRUK7kB/41+My/e1vQgiF5q5cI5pdervKhIGFzFBtg5Mdfj7Cd3nOLutd7V+AwnFPHhQKC9/WAFX0vSd3yMqiS5ktKWKVETYLqXWtlpZNCYBpQu7DuYk16uDnkVg8Ie3Gealjwj5/0vJnoFmcixWHCgE4lbjkw3EkL0WiGqw/euxkGGd/vnJFbWmevauJiU40Z3HHxM= 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)(136003)(396003)(346002)(39860400002)(451199021)(36840700001)(40470700004)(46966006)(6666004)(70206006)(478600001)(4326008)(70586007)(53546011)(26005)(31686004)(6506007)(6512007)(40480700001)(110136005)(41300700001)(54906003)(316002)(6486002)(5660300002)(40460700003)(966005)(86362001)(82310400005)(31696002)(47076005)(336012)(36860700001)(2906002)(2616005)(83380400001)(8676002)(8936002)(186003)(356005)(82740400003)(81166007)(36756003)(43740500002);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 May 2023 13:41:42.1806 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4711337b-cb34-414c-be9c-08db56dc72cb 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: DBAEUR03FT016.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR08MB7895 X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,FORGED_SPF_HELO,KAM_DMARC_NONE,KAM_LOTSOFHASH,KAM_SHORT,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 17/05/2023 10:26, Kyrylo Tkachov wrote: > Hi Stam, > >> -----Original Message----- >> From: Stam Markianos-Wright >> Sent: Tuesday, May 16, 2023 2:32 PM >> To: gcc-patches@gcc.gnu.org >> Cc: Kyrylo Tkachov ; Richard Earnshaw >> ; Andrea Corallo >> Subject: [GCC12 backport] arm: MVE testsuite and backend bugfixes >> >> Hi all, >> >> We've recently sent up a lot of patches overhauling the testsuite of the >> Arm MVE backend. >> With these changes, we've also identified and fixed a number of bugs >> (some backend bugs and many to do with the polymorphism of intrinsics in >> MVE the header file). >> These would all be relevant to backport to GCC12. >> The list is as follows (in the order they all apply on top of eachother): >> >> * This patch series: >> https://gcc.gnu.org/pipermail/gcc-patches/2022-November/606552.html >> (commits 9a79b522e0663a202a288db56ebcbdcdb48bdaca to >> f2b54e5b796b00f0072b61f9cd6a964c66ead29b) >> * ecc363971aeac52481d92de8b37521f6cc2d38e6 arm: Fix MVE testsuite >> fallouts >> * 06aa66af7d0dacc1b247d9e38175e789ef159191 arm: Add missing early >> clobber to MVE vrev64q_m patterns >> * c09663eabfb84ac56ddd8d44abcab3f4902c83bd testsuite: [arm] Relax >> expected register names in MVE tests >> * 330d665ce6dcc63ed0bd78d807e69bbfc55255b6 arm: [MVE] Add missing >> length=8 attribute >> * 8d4f007398bc3f8fea812fb8cff4d7d0556d12f1 arm: fix mve intrinsics scan >> body tests for C++ >> * This patch series >> https://gcc.gnu.org/pipermail/gcc-patches/2023-January/610312.html >> (commits dd4424ef898608321b60610c4f3c98737ace3680 to >> 267f01a493ab8a0bec9325ce3386b946c46f2e98) >> * 8a1360e72d6c6056606aa5edd8c906c50f26de59 arm: Split up MVE _Generic >> associations to prevent type clashes [PR107515] >> * 3f0ca7a3e4431534bff3b8eb73709cc822e489b0 arm: Fix vcreate definition >> * c1093923733a1072a237f112e3239b5ebd88eadd arm: Make MVE masked >> stores >> read memory operand [PR 108177] >> * f54e31ddefe3ea7146624eabcb75b1c90dc59f1a arm: fix __arm_vld1q_z* >> and >> __arm_vst1q_p* intrinsics [PR108442] >> * 1d509f190393627cffffdf0afffc427b25dd21c2 arm: remove unused variables >> from test >> > Ok to backport. > >> -- up to this point everything applied cleanly. The final two need minor >> rebasing changes -- >> >> * This patch series: >> https://gcc.gnu.org/pipermail/gcc-patches/2023-April/617008.html (Not >> pushed to trunk yet, but has been approved. For trunk we do now need to >> resolve some merge conflicts, since Christophe has started merging the >> MVE Intrinsic Restructuring, but these are trivial. I will also backport >> to GCC13 where this patch series applies cleanly) >> * cfa118fc089e38a94ec60ccf5b667aea015e5f60 [arm] complete vmsr/vmrs >> blank and case adjustments. >> >> The final one is a commit from Alexandre Oliva that is needed to ensure >> that we don't accidentally regress the test due to the tabs vs spaces >> and capitalisation on the vmrs/vmsr instructions :) >> >> After all that, no regressions on baremetal arm-none-eabi in a bunch >> configurations (-marm, thumb1, thumb2, MVE, MVE.FP, softfp and hardfp): >> > Will you be sending these to the list after adjusting? Yep, I believe we have to! I'm thinking we should do one batch of [committed] emails for GCC12 and one for trunk. For GCC13 the previously sent version of the series at https://gcc.gnu.org/pipermail/gcc-patches/2023-May/617373.html applies cleanly. Let me know if there's anything further we need to do! Thanks, Stamatis > Thanks, > Kyrill > >> Thanks, >> Stam