From patchwork Fri Jun 21 11:36:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinath Parvathaneni X-Patchwork-Id: 57139 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id CA05E3898518 for ; Fri, 21 Jun 2024 11:37:55 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on20600.outbound.protection.outlook.com [IPv6:2a01:111:f403:2613::600]) by sourceware.org (Postfix) with ESMTPS id D89723896C3A for ; Fri, 21 Jun 2024 11:37:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D89723896C3A 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 D89723896C3A Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=2a01:111:f403:2613::600 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1718969836; cv=pass; b=TuR7m6SHFNurfAniVc82WPzp2esGASMIpEOR/Q7O4rl36ImYZNT7yCTSvD0AAXOW7T6GHOK8U1XDcwVjlfyMpFVTbDqTzY/cNGwNMlvh9WtsuTTpeJYvijXyS2AvLzRGTy6T88/jZFn5/PvKrzIOWgK9i/ctfeV10F7Qs9gbNfk= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1718969836; c=relaxed/simple; bh=167lsm/AxlQpu9LdmwSKB/YdqCUu48XlfTHBWcyZVn0=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=cumWzvtHGeI0ANkk4gTgKqCd7npRiJmEiRzTH+CX/dvD8QZX5maZin3ziggqv6jDfuwKkj2QofNFUAl4JjjpHCDFqItKTzGIYi6zKPeD+aFHWAYQPtsJR+3f8lMBAByvEpsD+kzmpNl5lGze73KWyCcOfvuURl2CTeCm+DORyA8= ARC-Authentication-Results: i=3; server2.sourceware.org ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=KO4DZZppWtdwCDXz4VEF61VESilHAyxyZBS7TzWywtwsi7/dCOvwkUWX7QQp9rNAyWDYEl3hE5tRWmjcQzghSjxTxVvRAVwi3s1FEM+ykn4fY5ZTY5+8CGb34genhnDkAzf750CFjYEFJKkWUL0m5iJ4npt4hSFgZ3XnCfRj0E79eWtJoJWcAqI4pHhuKmtYXfk/zmnRv6Kg2rZ0SYcWsHmMHQ760Hx4sC/e9OclEVWIJdofWnLDTgbYx6nIaqsTtyEckL2xrQ5eFyLr0jzmd7xu4zODnQqupVHk5Bb5HYqkln+2Nr0y6001s8XXxnV1jEF/U+tcNq7lQK7Nrj6aZw== ARC-Message-Signature: i=2; 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=2cAMIMGMbkjXlXlgOfyPo+wtEwPR0dVQyhvchRfB24k=; b=PbJeQoJfvgp6fR9k5CQZkFCzHsmfMaeDBRmQnQvQrQ11SLjaXYPXgqAa4ANMJIHsJIBJuvxJ2b2Z+IJRPnDPD3FZ3EhCM8NMSa2QBkJV7XaG64ksu2likRQCarZpqF1glR/weCtt7nHJpmojcjcWqdfUP4CE/bULJVFbep99pUz//wXNRbzkxEgQdcYzTzmBbJI2iQ7Ad1iJhmBeAHGnYdUgMjBqn74Uqdv+EOihMnmhf8Q0dJVfsk83q9eobqP0Gc4DQHWU1dU+a93InLdwIN8aXH1/SnfvKQQ262WfHkMrp7NwqMACCf7sv5+WrbIASAwDwl8h2qqttXCQqFMUFg== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=sourceware.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=arm.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dmarc=[1,1,header.from=arm.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2cAMIMGMbkjXlXlgOfyPo+wtEwPR0dVQyhvchRfB24k=; b=AhCyLqZNRG3lulwlW9IPGz78R9RoVlPgOQjhsZ4tJ91uzwAWtg7GAJXT8TKBhV9ujRkcXs8TXyCKo+P2oVk7XCl8SQi7nc18/Q4tBidTwTFCBgV/ZKJVjBiheQrYAU22/nmIyLVkMBVpZm1hJD/UzxCLgOT20yBPnrFKqRoWDj8= Received: from DUZPR01CA0268.eurprd01.prod.exchangelabs.com (2603:10a6:10:4b9::16) by AM8PR08MB6356.eurprd08.prod.outlook.com (2603:10a6:20b:36b::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.22; Fri, 21 Jun 2024 11:37:08 +0000 Received: from DU2PEPF00028D11.eurprd03.prod.outlook.com (2603:10a6:10:4b9:cafe::ac) by DUZPR01CA0268.outlook.office365.com (2603:10a6:10:4b9::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.37 via Frontend Transport; Fri, 21 Jun 2024 11:37:08 +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=arm.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 DU2PEPF00028D11.mail.protection.outlook.com (10.167.242.25) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.7677.15 via Frontend Transport; Fri, 21 Jun 2024 11:37:08 +0000 Received: ("Tessian outbound fcd698738a24:v339"); Fri, 21 Jun 2024 11:37:07 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: b8e0cd2668203a09 X-CR-MTA-TID: 64aa7808 Received: from 1ec4ca71bb75.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 52862A39-EC2F-4243-B532-E667E77E752E.1; Fri, 21 Jun 2024 11:37:00 +0000 Received: from EUR04-DB3-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 1ec4ca71bb75.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 21 Jun 2024 11:37:00 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n8Rx+k7SYUNbI/PFnFFxjjhCsHV+fr+GRZWpk1PiitmW0d6/QKEBqFJ4PpErcs95zJx5iSZWh1U22HunmJErSOI2usNwGfXyXBkn1SFYEndPsFUoEm9ljFQ9SO1eZBBOt6jevhHmbAyWTqVhoufAjYhGtnl0IKZ6TBArFFWafa6gkuFAJlQ7Suxpm8q5gXL1Xafq4C0jbFjUa8fJ36HSeGLcoIBTKuoCZvOTo//4HLGVLmNKw9b01Hjn3m6yglQ9Hhm5WqTqRAvturDqlc8Qji/YLJ4tDf5J4a23DxPmfZjEWiW3EirtcgPkHijh6nL0g/sukFmcpPT67RjHSJ7eNQ== 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=2cAMIMGMbkjXlXlgOfyPo+wtEwPR0dVQyhvchRfB24k=; b=VAV66QWkXIr5o7usnOXF3OFrrtrpsY3rItU9buRS7nmWynjxW5ZB0PuglQu/qB/A2GFJnMTgq9xizTUnGh1yVcYewdcuU7tlPnnPsz7rs4oxc/GibHX8FRQlFarVQQ5BRzm5tsde4Pu7I8zev/kkL+GDYuxLOSI0CBkjuo2wSW4C36betXD3IJLFrzHYMAMn+BMd02lXNR+tgZPlQJThn/3zG3+36Kx5Ejf70N2Z66ipwro5A1B67biV9Cm2YXWOFXSGDif9DqXhzqlm3GzTTh0v8aqATlu3W0/rqSbkLhevXCgeMoRtP2y5yeoL9ph+HWCoxrXV5P7eaQc6QvvVwA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=sourceware.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2cAMIMGMbkjXlXlgOfyPo+wtEwPR0dVQyhvchRfB24k=; b=AhCyLqZNRG3lulwlW9IPGz78R9RoVlPgOQjhsZ4tJ91uzwAWtg7GAJXT8TKBhV9ujRkcXs8TXyCKo+P2oVk7XCl8SQi7nc18/Q4tBidTwTFCBgV/ZKJVjBiheQrYAU22/nmIyLVkMBVpZm1hJD/UzxCLgOT20yBPnrFKqRoWDj8= Received: from AM8P251CA0008.EURP251.PROD.OUTLOOK.COM (2603:10a6:20b:21b::13) by AS8PR08MB6344.eurprd08.prod.outlook.com (2603:10a6:20b:319::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.21; Fri, 21 Jun 2024 11:36:58 +0000 Received: from AM4PEPF00025F9A.EURPRD83.prod.outlook.com (2603:10a6:20b:21b:cafe::a8) by AM8P251CA0008.outlook.office365.com (2603:10a6:20b:21b::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.36 via Frontend Transport; Fri, 21 Jun 2024 11:36:58 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; pr=C Received: from nebula.arm.com (40.67.248.234) by AM4PEPF00025F9A.mail.protection.outlook.com (10.167.16.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7719.0 via Frontend Transport; Fri, 21 Jun 2024 11:36:58 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Fri, 21 Jun 2024 11:36:57 +0000 Received: from e120703.cambridge.arm.com (10.2.81.20) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Fri, 21 Jun 2024 11:36:56 +0000 From: Srinath Parvathaneni To: CC: , , Srinath Parvathaneni Subject: [PATCH v3 0/11][Binutils] aarch64: Fix the FEAT_SVE2p1 related issues. Date: Fri, 21 Jun 2024 12:36:43 +0100 Message-ID: <20240621113654.2079200-1-srinath.parvathaneni@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: AM4PEPF00025F9A:EE_|AS8PR08MB6344:EE_|DU2PEPF00028D11:EE_|AM8PR08MB6356:EE_ X-MS-Office365-Filtering-Correlation-Id: 2c552037-b14c-4629-e2b3-08dc91e67b82 X-LD-Processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; ARA:13230037|1800799021|82310400023|376011|36860700010; X-Microsoft-Antispam-Message-Info-Original: O1kMdyPQtI2TyVyLs33TPzrtu94TxmCqtxMSYlxXxM748ZAD9sCSHiAQ1IqsmEFB8lhsA75m0tON896njjg51W7GnVhBO+qHdW0m3LRdEIHwWLWa0jBE6WPKNcQuOMhiAxJuFns+OsQ1PNTlGyeZaKQIq1k0Zf5kPW+c9Ba8GB9DPGFD5dna6h/sxl/Y38mUXpRsRG/Kwpml/k5RrmY4JKAdFLS93+NlD7skFPXMe6JumwTKioU63Ov/BKzfHQ2YkQr/PGDwaGnqEhV7otg73oYi5RbA4WQcT2FZGdy+m19N3GznmxVtWmFNKrlUHtCFApm5dlJ8QH0gnniCUBcfOuQ9kdIKwn+gBknD23+2RX1sz14Zpu7ZleX/bxeh0fdkeudSbF7J/k9INbYy2x+yHmdiNAzRPRPoqMV3uk6LLCP7uLFNy0nB9WJrsu0NOERWZG3CvAXmGvkLDd5qM6FJnI/h+NrkB/X2HtdLFErPu5E7WQFLQs7v+0s6PqgB2D8lyISKHixRhf+Vyud52EPoN43s6LAmLl1QXBxHS5fNkKUD3G41EUZE0mij2JRU1d5cT3M9/PHy2ZVszUaJfR6618sWhFNsd/SHDwbpF0QztBqIExnjUJVHgaQs+mpQC/Ga1Ls+obgd2I/TD/Rf3EEio6KoalLAz2daWskH1yKat8w6bY47AQ0KvnIidJ7MTT64hQbfNLNHaZyonKufyhGJcp78fpJMVf7kIgcBrDE8Rm8ftjyuNHgEQQhLu71aAmfsdYVfH/t8xaCul707cK/eEmQwP8N4GolQElPjSke8KH4IQ8LHBFwfi8+BaQBcjRo13l4TY660iOPj2xB3TnmUZcDlk6pohgPdJu3N9CsvJhPy4KqQmpmz97vobx8fWAHAicXo+QtrbCUbGMGD/RFJkfB1WKBU/3Exhndfkiu6N8BrL2AUFdfcG6ZN1UROcqNT+aH/Pf9YMYlXSfEVUy5/SX9ljUq55wCjqxMAVPu2mhRfwT/uL5Jn9KRvaqnGjeI/RXFCKnlx+l8c5HTuvX0O5VirnWEOb5Xi7rDYonkl4Eck4P8MBSJkscMcXN5vn10914PMJoQQkgZZfOcemHEPhyfW7riaEcm+Y7dH6nJHY40r17u0x4dWMWduykFTLtdfBnAlFVGQTJ3AZDOsMFgpyMJDYib47Sd1Macg8oLOar5WeiL3JmLskQnPAeSY8Fz9LpiLNHYA1nCyum1rGKe4mOjZbDkuKD2sp7ii2CSwdo0TXc/n6Cg4azQA1GKCkh9zPMnl54xEwtR5h2tNKW138T/szv1esgVSBqGp88R0SGH5aV/E7IZSTzpPM/icq9XFH30Nk59OGPH3368xyuD7n2oJa5Fbat40c3s+ch0jUTM= X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:nebula.arm.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230037)(1800799021)(82310400023)(376011)(36860700010); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB6344 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DU2PEPF00028D11.eurprd03.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 87c6cc5d-f104-4f9a-8cac-08dc91e675e1 X-Microsoft-Antispam: BCL:0; ARA:13230037|36860700010|376011|35042699019|82310400023|1800799021; X-Microsoft-Antispam-Message-Info: vdqAYDCU14lZloDuDhJPgAIKMN20DX+8uNQXICReDRufhdzVzf/ucI/STyrjY6MYLRGz6k1a2bH/Ix4a6ry61FmjBVPmdsdYGwupOAol6IuvBfEYzcwTjI9iiF2zJTFFLqtsx+UOsiBnDVJ1OaWlQOfqJAU12zBX8n+xl+AL6cZN/qGZv621/tm5MgtAeYJWJVM0lxxBNOZ//WBIjI7SgDbiBJLO09xCwLzbkvhM5/3ug/1+XyP09nK4ruSR6Zu9aXX2sYAnelQCGIEMFjlYsOBFE9m+ypCm0CAnF+mi1AYj2D6mgvEmhV6xpyYn8ICcjEK2H76uLfUowgj2+yr3y44HOfEJaqrCxDvZMMKziBiaOMEUJVXLwBjIHFYlABTBZjL3or+nUx3KAnGVGHkU2x37cg0vD4r0Epll3D6rIDhCe1adxnth2fMAHcgTrE3V2jCguoDnsavS1NpTck+4mJEzh1Xtjvs62FYJGcqIrwm26iKhwx2KudBujpMdSAEb0e9dhMGxpV81eXZBmLWZIcvfvmuEjonejpDwLt1hwX3x9WePDmah+7XkXCqSSZKj63yRrz3noDfClNtOVlxWuNo1hbpI9G5KR+itsnFU7EWzDMiwFmALw5m1N1G/VzxwwCN1+Te9etE2xJftcvPxr9ziJ33VgvLzVQR4KeEyE+IL6q8zeWkHt6xSnUhM6v0Nhwos9CB1dmpvp/8AsaJ0YrV/tdJdzrsLfyRNOp3BzeoJkzDTPm8HENz4UYBTjJXSS57/thcB9KBcGcTJJyvC1NfJ/OpcRwlGMmJuQRT0KJr/BeTNkT2U19/oCtXg3K7w8t8Ewl3RcQL20w2XCVwBEmmvkx6QXq92ikFusrNrf06Oq0CWLNIaiDuSmRAQp3rN+61uPx9vcCpBOHT12M4YopxLlIuQxyoM8zzyAVeFhP5pfjvopGRtevjbupKwamBTYAsg5tTAkVxH/6FvBFeXq2PA4bMlQW9USUFuc/hcp/N9kHOSZUuFlP/RS74ywRpuCaTn1oGmqD7uq3LdlZKnFcA/VUlh2j1OQOolBDqPUCEo3LkhKd0X1AmNhHqxz2btGgvs3iHKQhymNgLSmEJGSMxQQtvnQ3zm6+h0zXmJI3Fz2uxrX4OZrvCLPpG+kUF2uVhdc9+/z87rqvHU0WwhEalvjoT2BwKMZyUzVNSCbnk4VJidxBm6Kv6nNpXXX+dV18C5iPVApU2hcCmPq3p0IkGPFCDTo46WfsyNCcHlpg3UJOI/TbCg8g4XtywczAJYYl9NoII0hAEBGIbpvPHFWCjX5dKEtZhJK7Z77QR8t+/wnWzp2XfEwRHmo/CZPencHOIKWuMMQf9H2CuzQTrcvtwoFX4L5+kRTXe4zNo1/rE= 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:(13230037)(36860700010)(376011)(35042699019)(82310400023)(1800799021); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2024 11:37:08.0292 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2c552037-b14c-4629-e2b3-08dc91e67b82 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: DU2PEPF00028D11.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR08MB6356 X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FORGED_SPF_HELO, SPF_HELO_PASS, SPF_NONE, TXREP, 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 X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: binutils-bounces+patchwork=sourceware.org@sourceware.org Hi, The FEAT_SVE2p1 related issues were reported here [1] and I have posted few patches to fix those issues [2]. This patch series is the re-spin of those patches in [2], splitting them and also addresssing other issues like adding extra tests for FEAT_SVE2p1 instructions and fix FEAT_B16B16 sve2 instruction constraints. [1] https://sourceware.org/pipermail/binutils/2024-February/132408.html [2] https://sourceware.org/pipermail/binutils/2024-February/132636.html Version v1 - > v2: Srinath Parvathaneni (11): [PATCH v1 1/11][Binutils] aarch64: Enable mandatory feature bits for v9.4-A. Enables FEAT_SVE2p1 for Armv9.4-A architecture by default. [PATCH v2 2/11][Binutils] aarch64: Fix sve2p1 dupq instruction operands. Fixes the syntax of sve2p1 "dupq" instruction. Changes from v1 - > v2: Version1 of this patch is posted here: https://sourceware.org/pipermail/binutils/2024-February/132636.html - This patch addresses the comment to split dupq and extq instruction fixes to separate patches (4/11). - Enabling FEAT_SVE2p1 for Armv9.4-A architecture by default is moved to separate patch (1/11). - insert_all_fields_after/extract_all_fields_after is used instead of insert_fields/extract_fields to avoid access code changes. - case sve_index1: is removed. - aarch64_ext_sve_index_imm and -aarch64_ins_sve_index_imm functions are removed. [PATCH v1 3/11][Binutils] aarch64: Fix sve2p1 dupq instruction operands (regenerated files). Auto generated opcode/aarch64-*-2.c files after fixing sve2p1 "dupq" instruction. [PATCH v1 4/11][Binutils] aarch64: Fix sve2p1 extq instruction operands. Fixes the syntax of sve2p1 "extq" instruction. [PATCH v1 5/11][Binutils] aarch64: Fix sve2p1 extq instruction operands (regenerated files). Auto generated opcode/aarch64-*-2.c files after fixing sve2p1 "extq" instruction. [PATCH v2 6/11][Binutils] aarch64: Fix sve2p1 ld[1-4]/st[1-4]q instruction operands. Fixes encoding and syntax for sve2p1 instructions ld[1-4]q/st[1-4]q. Changes from v1->v2: Version1 of this patch is posted here: https://sourceware.org/pipermail/binutils/2024-February/132637.html - Added tests for the non-wrapping sequence of registers and shorter form. - For the above mentioned forms, the following is the preferred disassembly. For all the above form of instructions the hyphenated form is preferred for disassembly if there are more than one register in the list, and the register numbers are monotonically increasing in increments of one. [PATCH v1 7/11][Binutils] aarch64: Fix sve2p1 ld[1-4]/st[1-4]q instruction operands (regenerated files). Auto generated opcode/aarch64-*-2.c files after fixing sve2p1 "ld[1-4]q/st[1-4]q" instruction. [PATCH v1 8/11][BINUTILS] aarch64: Fix the wrong constraint used for sve2p1 instructions. As per the spec following instruction does not immediately preceded in program order by a MOVPRFX instruction and the issue is fixed in this patch. List of instructions updated: addqv, andqv, smaxqv, sminqv, umaxqv, uminqv, eorqv, faddqv, fmaxnmqv,fmaxqv, fminnmqv and fminqv. [PATCH v1 9/11][Binutils] aarch64: Add extra tests for sve2p1 min max instructions. This patch adds some extra tests for the sve2p1 "addqv, andqv, smaxqv, sminqv, umaxqv, uminqv, eorqv, faddqv, fmaxnmqv, fmaxqv, fminnmqv and fminqv" instructions. [PATCH v1 10/11][Binutils] aarch64: Fix FEAT_B16B16 sve2 instruction constraints. This patch adds missing contraints to FEAT_B16B16 sve2 instructions bfclamp, bfmla and bfmls and add negative tests for all the bfloat instructions. [PATCH v1 11/11][Binutils] aarch64: Fix FEAT_B16B16 sve2 instruction constraints (regenerated files). Auto generated opcode/aarch64-*-2.c files after fixing FEAT_B16B16 sve2 instructions. Version v2 - > v3: Srinath Parvathaneni (11): [PATCH v2 1/11][Binutils] aarch64: Enable mandatory feature bits for v9.4-A. No changes. [PATCH v3 2/11][Binutils] aarch64: Fix sve2p1 dupq instruction operands. Fixes the syntax of sve2p1 "dupq" instruction. Changes from v2 - > v3: > While moving (and extending) these into a separate testcase may be fine, the removal from sve2p1-1-bad.l is not accompanied by a similar addition elsewhere. Is that intentional / desirable? - Reverted the sve2p1-bad.l changes, also update sve2p1-1.d accordingly. [PATCH v3 3/11][Binutils] aarch64: Fix sve2p1 dupq instruction operands (regenerated files). Update Auto generated files. [PATCH v3 4/11][Binutils] aarch64: Fix sve2p1 extq instruction operands. Fixes the syntax of sve2p1 "extq" instruction. Changes from v2 - > v3: > Since here you remove the sole user of SVE_Zm_imm4, shouldn't that operand type then also be purged (much like you did in patch 2)? - Removed AARCH64_OPND_SVE_Zm_imm4 operand, also reverted the sve2p1-bad.l changes and updated sve2p1-1.d accordingly. [PATCH v3 5/11][Binutils] aarch64: Fix sve2p1 extq instruction operands (regenerated files). Update Auto generated files. [PATCH v3 6/11][Binutils] aarch64: Fix sve2p1 ld[1-4]/st[1-4]q instruction operands. Fixes encoding and syntax for sve2p1 instructions ld[1-4]q/st[1-4]q. Changes from v2->v3: > +.*: c41fa000 ld1q {z0.q}, p0/z, \[z0.d, xzr\] The specification for this says LD1Q { .Q }, /Z, [.D{, }] and further says that Xm defaults to Xzr when omitted. So I would have thought the preferred disassembly for this case would be to omit the zero register, giving ld1q {z0.q}, p0/z, [z0.d] as the output. - Since {, } is optional, I have dropped the index from the disassembly in both of the following cases. ld1q {z0.q}, p0/z, [z0.d, xzr] ld1q {z0.q}, p0/z, [z0.d] And for both the above cases, the disassembly is as below: ld1q {z0.q}, p0/z, [z0.d] > On a related note, I think we need a parsing test for the omitted argument as well, so: +ld1q { Z0.Q }, P0/Z, [Z0.D, xzr] +ld1q { Z0.Q }, P0/Z, [Z0.D] - Added the mentioned tests. > A similar issue for disassembly with this case: +ld2q {Z0.Q, Z1.Q}, p0/Z, [x0, #0, MUL VL] and the other (ld3q/ld4q) cases. - When immediate is zero, following is the preferred disassembly (even for ld3q/ld4q and st2q/st3q/st4q),: ld2q {Z0.Q, Z1.Q}, p0/Z, [x0] > When the immediate is 0, we should also test +ld2q {Z0.Q, Z1.Q}, p0/Z, [x0] (we do disassemble to this form, I see) - Added the requested test. > +ld2q {Z0.Q, Z1.Q}, p0/Z, [x0, x30, LSL #4] I think it would be better to test for +ld2q {Z0.Q, Z1.Q}, p0/Z, [x0, xzr, LSL #4] Here as that tests all the bits of the Rm field. - Well this change is dropped as the current behavior is current, but I have made changes to the 3rd operand in ld[2-4]q/st[2-4]q instructions: For ld2q replaced SVE_ADDR_RR_LSL2 with SVE_ADDR_RX_LSL2 For ld3q replaced SVE_ADDR_RR_LSL3 with SVE_ADDR_RX_LSL3 For ld4q replaced SVE_ADDR_RR_LSL4 with SVE_ADDR_RX_LSL4 (created a new operand in this case) For st2q replaced SVE_ADDR_RR_LSL2 with SVE_ADDR_RX_LSL2 For st3q replaced SVE_ADDR_RR_LSL3 with SVE_ADDR_RX_LSL3 For st4q replaced SVE_ADDR_RR_LSL4 with SVE_ADDR_RX_LSL4 This change is made so that "xzr" as index is rejected by the assembler and also added relevant negative tests. [PATCH v3 7/11][Binutils] aarch64: Fix sve2p1 ld[1-4]/st[1-4]q instruction operands (regenerated files). Update Auto generated files. [PATCH v1 8/11][BINUTILS] aarch64: Fix the wrong constraint used for sve2p1 instructions. No changes. [PATCH v1 9/11][Binutils] aarch64: Add extra tests for sve2p1 min max instructions. No changes. [PATCH v3 10/11][Binutils] aarch64: Fix FEAT_B16B16 sve2 instruction constraints. This patch adds missing contraints to FEAT_B16B16 sve2 instructions bfclamp, bfmla and bfmls and add negative tests for all the bfloat instructions. Changes from v2->v3: > It doesn't seem right to me that a test that is supposedly checking for invalid operand combinations would be reporting unsupported instructions. Perhaps these should be in a separate test with different command-line options? - The negative testcase bfloat16-invalid.* tests that the instructions fail with "selected processor does not support" error in case of +b16b16 flag is not being passed. But for that error message to be triggered we need use instruction with valid operands. These tests are modified so that "selected processor does not support" is generated by the assembler. - Also bfloat16-invalid.* testcases are renamed to bfloat16-1-invalid.l, bfloat16-1-invalid.s and bfloat16-1-invalid.d to maintain consistency in the testsuite. - bfloat16-2-invalid.* testcase includes the wrong operands bfloat16 tests. [PATCH v3 11/11][Binutils] aarch64: Fix FEAT_B16B16 sve2 instruction constraints (regenerated files). Update Auto generated files. Regards, Srinath gas/config/tc-aarch64.c | 6 +- .../gas/aarch64/bfloat16-1-invalid.d | 4 + .../gas/aarch64/bfloat16-1-invalid.l | 11 + .../gas/aarch64/bfloat16-1-invalid.s | 10 + gas/testsuite/gas/aarch64/bfloat16-1.d | 6 + gas/testsuite/gas/aarch64/bfloat16-1.s | 7 +- .../gas/aarch64/bfloat16-2-invalid.d | 4 + .../gas/aarch64/bfloat16-2-invalid.l | 265 ++++++++++++++++++ .../gas/aarch64/bfloat16-2-invalid.s | 147 ++++++++++ gas/testsuite/gas/aarch64/bfloat16-bad.l | 3 + gas/testsuite/gas/aarch64/bfloat16-invalid.d | 4 - gas/testsuite/gas/aarch64/bfloat16-invalid.l | 8 - gas/testsuite/gas/aarch64/bfloat16-invalid.s | 13 - gas/testsuite/gas/aarch64/illegal-sve2.l | 52 ++-- gas/testsuite/gas/aarch64/sme-5-illegal.l | 8 +- gas/testsuite/gas/aarch64/sme-6-illegal.l | 8 +- gas/testsuite/gas/aarch64/sve2.d | 76 ++--- gas/testsuite/gas/aarch64/sve2p1-1-bad.d | 2 +- gas/testsuite/gas/aarch64/sve2p1-1-bad.l | 177 ++++++------ gas/testsuite/gas/aarch64/sve2p1-1-invalid.d | 4 + gas/testsuite/gas/aarch64/sve2p1-1-invalid.l | 101 +++++++ gas/testsuite/gas/aarch64/sve2p1-1-invalid.s | 26 ++ gas/testsuite/gas/aarch64/sve2p1-1.d | 193 ++++++------- gas/testsuite/gas/aarch64/sve2p1-1.s | 178 ++++++------ gas/testsuite/gas/aarch64/sve2p1-2-bad.d | 4 + gas/testsuite/gas/aarch64/sve2p1-2-bad.l | 2 + gas/testsuite/gas/aarch64/sve2p1-2-invalid.d | 3 + gas/testsuite/gas/aarch64/sve2p1-2-invalid.l | 47 ++++ gas/testsuite/gas/aarch64/sve2p1-2-invalid.s | 10 + gas/testsuite/gas/aarch64/sve2p1-2.d | 34 +++ gas/testsuite/gas/aarch64/sve2p1-2.s | 28 ++ gas/testsuite/gas/aarch64/sve2p1-3-bad.d | 3 + gas/testsuite/gas/aarch64/sve2p1-3-bad.l | 208 ++++++++++++++ gas/testsuite/gas/aarch64/sve2p1-3-bad.s | 59 ++++ gas/testsuite/gas/aarch64/sve2p1-3-invalid.d | 3 + gas/testsuite/gas/aarch64/sve2p1-3-invalid.l | 17 ++ gas/testsuite/gas/aarch64/sve2p1-3-invalid.s | 16 ++ gas/testsuite/gas/aarch64/sve2p1-3.d | 20 ++ gas/testsuite/gas/aarch64/sve2p1-3.s | 12 + gas/testsuite/gas/aarch64/sve2p1-4-invalid.d | 3 + gas/testsuite/gas/aarch64/sve2p1-4-invalid.l | 122 ++++++++ gas/testsuite/gas/aarch64/sve2p1-4-invalid.s | 125 +++++++++ gas/testsuite/gas/aarch64/sve2p1-4.d | 152 ++++++++++ gas/testsuite/gas/aarch64/sve2p1-4.s | 155 ++++++++++ gas/testsuite/gas/aarch64/sve2p1-nosve2.s | 1 + include/opcode/aarch64.h | 11 +- opcodes/aarch64-asm-2.c | 153 +++++----- opcodes/aarch64-asm.c | 19 +- opcodes/aarch64-asm.h | 1 - opcodes/aarch64-dis-2.c | 170 ++++++----- opcodes/aarch64-dis.c | 36 +-- opcodes/aarch64-dis.h | 1 - opcodes/aarch64-opc-2.c | 10 +- opcodes/aarch64-opc.c | 91 +++--- opcodes/aarch64-tbl.h | 133 +++++---- 55 files changed, 2249 insertions(+), 713 deletions(-) create mode 100644 gas/testsuite/gas/aarch64/bfloat16-1-invalid.d create mode 100644 gas/testsuite/gas/aarch64/bfloat16-1-invalid.l create mode 100644 gas/testsuite/gas/aarch64/bfloat16-1-invalid.s create mode 100644 gas/testsuite/gas/aarch64/bfloat16-2-invalid.d create mode 100644 gas/testsuite/gas/aarch64/bfloat16-2-invalid.l create mode 100644 gas/testsuite/gas/aarch64/bfloat16-2-invalid.s delete mode 100644 gas/testsuite/gas/aarch64/bfloat16-invalid.d delete mode 100644 gas/testsuite/gas/aarch64/bfloat16-invalid.l delete mode 100644 gas/testsuite/gas/aarch64/bfloat16-invalid.s create mode 100644 gas/testsuite/gas/aarch64/sve2p1-1-invalid.d create mode 100644 gas/testsuite/gas/aarch64/sve2p1-1-invalid.l create mode 100644 gas/testsuite/gas/aarch64/sve2p1-1-invalid.s create mode 100644 gas/testsuite/gas/aarch64/sve2p1-2-bad.d create mode 100644 gas/testsuite/gas/aarch64/sve2p1-2-bad.l create mode 100644 gas/testsuite/gas/aarch64/sve2p1-2-invalid.d create mode 100644 gas/testsuite/gas/aarch64/sve2p1-2-invalid.l create mode 100644 gas/testsuite/gas/aarch64/sve2p1-2-invalid.s create mode 100644 gas/testsuite/gas/aarch64/sve2p1-2.d create mode 100644 gas/testsuite/gas/aarch64/sve2p1-2.s create mode 100644 gas/testsuite/gas/aarch64/sve2p1-3-bad.d create mode 100644 gas/testsuite/gas/aarch64/sve2p1-3-bad.l create mode 100644 gas/testsuite/gas/aarch64/sve2p1-3-bad.s create mode 100644 gas/testsuite/gas/aarch64/sve2p1-3-invalid.d create mode 100644 gas/testsuite/gas/aarch64/sve2p1-3-invalid.l create mode 100644 gas/testsuite/gas/aarch64/sve2p1-3-invalid.s create mode 100644 gas/testsuite/gas/aarch64/sve2p1-3.d create mode 100644 gas/testsuite/gas/aarch64/sve2p1-3.s create mode 100644 gas/testsuite/gas/aarch64/sve2p1-4-invalid.d create mode 100644 gas/testsuite/gas/aarch64/sve2p1-4-invalid.l create mode 100644 gas/testsuite/gas/aarch64/sve2p1-4-invalid.s create mode 100644 gas/testsuite/gas/aarch64/sve2p1-4.d create mode 100644 gas/testsuite/gas/aarch64/sve2p1-4.s create mode 100644 gas/testsuite/gas/aarch64/sve2p1-nosve2.s