From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2083.outbound.protection.outlook.com [40.107.22.83]) by sourceware.org (Postfix) with ESMTPS id 571543858282 for ; Wed, 29 May 2024 08:39:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 571543858282 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 571543858282 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=40.107.22.83 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1716971967; cv=pass; b=fLI2mZmPkkcP1ZiFAIxQbV5HGqnJBbm/4xRfZHtVSdeGISSJCfKWnNXeM91japFNormScfdHiWwC74iz7xqrKoCuLRaMejhmlIWMDJz7JxRvQLIubMADqL9BVmfya7JIsfBUK+9vTfS5RjngXVxKbE6iPmoYUnoCeoNUZFeTNqk= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1716971967; c=relaxed/simple; bh=H40IvdZ8piz6FtTi+4DLh41Wke2jN0Uq66ZzABYuopk=; h=DKIM-Signature:DKIM-Signature:Message-ID:Date:Subject:To:From: MIME-Version; b=DKeO81md5LlJNZNT+RpWFRyEvkG5QUd7wrWcPUPA27hXtyMTODtzhOqV4OV9YguVbgtjoH0d3xPD0JfZlONTLE0nrJ9tGpCIrwVx9C6eV8ipjvVUtIl5l6iDTWfxZmpjZI28YKzNyT+X1zuH7y7uWrnn1JwBccKYhca1akOtc+8= ARC-Authentication-Results: i=3; server2.sourceware.org ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=dZyv+jsppLBYCBJFDJqYe0Dw1p+ccAr4iTYH7cfZQRB9pW9oqjXmg6TJ8+v3IPPpBBHrCA/srFcW/NDamGKGqFwBJMfLrWj5/l9bfOuR9PCrMgR4NCP4DlpZX2HfQ5bfG0ZmkXuhFg+xIhiI4bspLxu3ePMmflOSrCVxtcj040q7cpblmWlxrjr8bP5zokTZJJ0QD6mkLYa0B0B8SItlfE6kfdzg/UIkqCrSGsAB5lsd8Y2mf6BvRoJvm632QspIXMA/pXoemT9HI+niBDgFeKCUFyQ+7IEuV8+W6I7Y4AQQQU3DEbDvkUhctgKZe5cfrI9X+OGNC0Bt7kQuvH/8SA== 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=zV/OaYr3C/IDWyk8PeMfA5Wos97AnhHcpjPKrDCVYt8=; b=ofOoVRdPuo8GENKHP2xkbiq3GI9DVWX7JCbGDrl9yPM2xq1ueuKB82x2x5WtQw5khZWaDX7utQx34V73Xhu2U5rHcANnm2R5ydIzmyuDl1mSIA/ASLCVMyicUE5H/BbsZEeHlJ5sxGwy1gHMvudImkuK87mTyprCdScTv2PjVQqpmAFvi6KtpY8aT8cNj0mdtaeyhucEN0OwsbRosyNvSmfCQiimifLOH8OP3pLUXxGS9VVj0Z52D8lq8ACif8jDKVgYLs9Lwnu2wrb5dI2DkLy/IPlgeJD/UMUoOwko6R7G/7SObUmsZoL07ayAaaSEIP45M3W5XCpWSNsQR23KBw== 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] dkim=[1,1,header.d=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=zV/OaYr3C/IDWyk8PeMfA5Wos97AnhHcpjPKrDCVYt8=; b=Je5cs1MbZPSJl0iAzxl9YbIjCTRyp9EsZH1tweFeW1/eZFWVsUAw3YKdqeQWXOXSrruSxBPD35YthC8BG35YoNXKGUGEJyusOZHb784EE0/YiVKcdqcVp5SFkIcFIHUqN41YxHll0gln4/RyE5xl/toeFargyrp3g7Y1Xj35gtk= Received: from DB3PR08CA0023.eurprd08.prod.outlook.com (2603:10a6:8::36) by GV2PR08MB8511.eurprd08.prod.outlook.com (2603:10a6:150:b5::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.19; Wed, 29 May 2024 08:39:18 +0000 Received: from DU6PEPF00009525.eurprd02.prod.outlook.com (2603:10a6:8:0:cafe::c) by DB3PR08CA0023.outlook.office365.com (2603:10a6:8::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.19 via Frontend Transport; Wed, 29 May 2024 08:39:17 +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 DU6PEPF00009525.mail.protection.outlook.com (10.167.8.6) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.7633.15 via Frontend Transport; Wed, 29 May 2024 08:39:17 +0000 Received: ("Tessian outbound e5fb9b7e6155:v327"); Wed, 29 May 2024 08:39:17 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 2a8ce5c1aa10ef22 X-CR-MTA-TID: 64aa7808 Received: from 0bde21202e08.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 48664EEE-ED18-4B87-B2A4-1CE80E0DA6B8.1; Wed, 29 May 2024 08:39:10 +0000 Received: from EUR04-DB3-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 0bde21202e08.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 29 May 2024 08:39:10 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=c+fnRoMZ2sQ/GoVYM8sP9+H75Ko/o9ZrsCBR7uuugSXjsfAo9WRbmF8xr9+ne28oRNZmhZIIsHFrktJduoIPxZUeGGXg9HmX46k2xD5oNHZZUVVgQefhw3+tPYs1LfIC26bTz4JVlqwfk6sFVQwaKH6IB8LV4jZc3ILggx7AvTckUY7QDCd2y7AWE/1TaI/cgRv2giXXQDGhbggT9jfQI9bh4YTIyPSc0kehkm8Qmu1YtsQdUZKUdttnOOnmcIvqvILhzneS2FdY7R4mysrZUNwVakY67gLRhgc4ViZvOymZiNRYTaqkzg+mJweZqo4oOJtkSc+9lTSAfpYr88RXKw== 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=zV/OaYr3C/IDWyk8PeMfA5Wos97AnhHcpjPKrDCVYt8=; b=eLVLljjScq9OHM44BwUYkkiy/nlZ9XVpzRm5j8DloZwYVv3TEBqV2isQ6OR+pXoe/f1VkXukz0tFPwOJTSftXU1sB2u8VwCNdzVZj43dpafDTyZPUmB49Sihi7qCRWK/AmXn3vwgeWsvkAbmFkkTzOsFlCo7ukNXnu7+ldlmEe0kNtWintHTzaG8+ze0rkZ3n8sk1jwh8dKoIFURlCDxjNyPWU6IvAawMQeisUgMOdTfBmrC8LaPJFnBrRvv8qoea9FcC+d4ibYruW1cHS8xxv8M94pGv8CoFZKEPJcgb/a9J1JHEoOvU6dXo99unuYdZYOJWuDuesK1q3dAAVW8AQ== 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=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zV/OaYr3C/IDWyk8PeMfA5Wos97AnhHcpjPKrDCVYt8=; b=Je5cs1MbZPSJl0iAzxl9YbIjCTRyp9EsZH1tweFeW1/eZFWVsUAw3YKdqeQWXOXSrruSxBPD35YthC8BG35YoNXKGUGEJyusOZHb784EE0/YiVKcdqcVp5SFkIcFIHUqN41YxHll0gln4/RyE5xl/toeFargyrp3g7Y1Xj35gtk= Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from DBBPR08MB6091.eurprd08.prod.outlook.com (2603:10a6:10:1f4::5) by DB9PR08MB8578.eurprd08.prod.outlook.com (2603:10a6:10:3d5::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.30; Wed, 29 May 2024 08:39:06 +0000 Received: from DBBPR08MB6091.eurprd08.prod.outlook.com ([fe80::15a1:f211:5d1c:b271]) by DBBPR08MB6091.eurprd08.prod.outlook.com ([fe80::15a1:f211:5d1c:b271%4]) with mapi id 15.20.7633.018; Wed, 29 May 2024 08:39:06 +0000 Message-ID: <40e52e50-4f4b-417c-8965-dcfd5f0de077@arm.com> Date: Wed, 29 May 2024 09:39:04 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v7 1/4] gas, aarch64: Add AdvSIMD lut extension To: Andrew Carlotti Cc: binutils@sourceware.org, richard.earnshaw@arm.com References: <20240528144553.2994250-1-saurabh.jha@arm.com> <4fcfbfc7-fda6-d9f4-903f-58a64eb7d3e2@e124511.cambridge.arm.com> Content-Language: en-US From: Saurabh Jha In-Reply-To: <4fcfbfc7-fda6-d9f4-903f-58a64eb7d3e2@e124511.cambridge.arm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0697.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:37b::12) To DBBPR08MB6091.eurprd08.prod.outlook.com (2603:10a6:10:1f4::5) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: DBBPR08MB6091:EE_|DB9PR08MB8578:EE_|DU6PEPF00009525:EE_|GV2PR08MB8511:EE_ X-MS-Office365-Filtering-Correlation-Id: 1529e363-3956-4aef-6e8d-08dc7fbad3cd x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0;ARA:13230031|366007|1800799015|376005; X-Microsoft-Antispam-Message-Info-Original: =?utf-8?B?YVVsZXlERFYwVDNPdXFaWXdHVzJsUEk2a3U5U1lielVJS2ZaU1hURWxTUmJw?= =?utf-8?B?K3hPd1BqV1BrS1lyQ1NvdzRyaGNBV3BBOXlFTmppMUtldG93WFJpbWV3Wndj?= =?utf-8?B?UmxXRlZxS1VQaU1uYlM4U3JuWDhmNmEvOHgzb2pvQWpPWllTK3ZlaStTLzdY?= =?utf-8?B?K1FwZit0ajNLQlR4bkJEV1pKMTNhNHRFemNlTmlDdjl5eklNRmN2VzBRc2lh?= =?utf-8?B?U2F4TGJ6aTFaNkhxdG9RV1dIeE1lUzVYNENLSUpiOG8yalZuZE1HdWw3VTA4?= =?utf-8?B?TVp5d0dFeUF5VHhtYlh6UlJtNlAzTjJi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hhMjhyT2ZIdW1nci9ZbGhybGJRODNxZWR2d0s2WGlzK3dr?= =?utf-8?B?bnh4Z29HS0IrckNQMVBxN1RNWWN3T2I0dXdyVHIxWHFxM1l3azljOGtNQ2Uw?= =?utf-8?B?RzRnY1hrNEZrZFpiMFdVWjM3UXBEY3o0M1cxMGNYOWk5WWZZcDl3OFB5M3Nz?= =?utf-8?B?WHZFbjhrRXA4WE5SajRxS0UyK0lRMERNSnR2eW5HYXRCM0xFQTB2Q3hhbDhL?= =?utf-8?B?SUhuZkUxVTFacUNEY2phRmFLUmxpeXlTV1dQeHZJMThsKzlHT3ltODAzaity?= =?utf-8?B?dHhkdmp5V09xQTJTTkxRd2cwQks0LzNHV283Q3haTFFSMzAweXVYeGxpaUU0?= =?utf-8?B?Vk5FR1EvdXBWbVNxdWNTcWMrMm1uVHEwUExFVjJYY3M0U1JkbWN1YmRucTNo?= =?utf-8?Q?xoOSYVD1FCGGXpNoJ8GcnTUBCFntyodlvsLq/kW80V8o=3D?= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DBBPR08MB6091.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366007)(1800799015)(376005);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB8578 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: DU6PEPF00009525.eurprd02.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 39be25db-1ca1-4d34-46e8-08dc7fbaccf7 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|1800799015|36860700004|35042699013|82310400017; X-Microsoft-Antispam-Message-Info: =?utf-8?B?cnFNTjh0VzB4UFIzQndDdVRxdXNoemtLZWVYdG9uSGNES21tR0VWU2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QmdrZz09?= 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)(376005)(1800799015)(36860700004)(35042699013)(82310400017);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 May 2024 08:39:17.3868 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1529e363-3956-4aef-6e8d-08dc7fbad3cd 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: DU6PEPF00009525.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV2PR08MB8511 X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO,GIT_PATCH_0,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: On 5/28/2024 5:18 PM, Andrew Carlotti wrote: > On Tue, May 28, 2024 at 03:45:50PM +0100, saurabh.jha@arm.com wrote: >> >> Introduces instructions for the Advanced SIMD lut extension for AArch64. They are documented in the following links: >> * luti2: https://developer.arm.com/documentation/ddi0602/2024-03/SIMD-FP-Instructions/LUTI2--Lookup-table-read-with-2-bit-indices-?lang=en >> * luti4: https://developer.arm.com/documentation/ddi0602/2024-03/SIMD-FP-Instructions/LUTI4--Lookup-table-read-with-4-bit-indices-?lang=en >> >> These instructions needed definition of some new operands. We will first >> discuss operands for the third operand of the instructions and then >> discuss a vector register list operand needed for the second operand. >> >> The third operands are vectors with bit indices and without type >> qualifiers. They are called Em_INDEX1_14, Em_INDEX2_13, and Em_INDEX3_12 >> and they have 1 bit, 2 bit, and 3 bit indices respectively. For these >> new operands, we defined new parsing case branch. The lsb and width of >> these operands are the same as many existing but the convention is to >> give different names to fields that serve different purpose so we >> introduced new fields in aarch64-opc.c and aarch64-opc.h for these new >> operands. >> >> For the second operand of these instructions, we introduced a new >> operand called LVn_LUT. This represents a vector register list with >> stride 1. We defined new inserter and extractor for this new operand and >> it is encoded in FLD_Rn. We are enforcing the number of registers in the >> reglist using opcode flag rather than operand flag as this is what other >> SIMD vector register list operands are doing. The disassembly also uses >> opcode flag to print the correct number of registers. >> --- >> Hi, >> >> Regression tested for aarch64-none-elf and found no regressions. >> >> Ok for binutils-master? I don't have commit access so can someone please commit on my behalf? > > I think the series is fine now (though I can't formally approve it myself), > although I have a couple of comments for future reference. > >> Regards, >> Saurabh >> --- >> gas/NEWS | 2 + >> gas/config/tc-aarch64.c | 67 ++++++ >> gas/doc/c-aarch64.texi | 2 + >> gas/testsuite/gas/aarch64/advsimd-lut-bad.d | 3 + >> gas/testsuite/gas/aarch64/advsimd-lut-bad.l | 25 +++ >> .../gas/aarch64/advsimd-lut-illegal.d | 3 + >> .../gas/aarch64/advsimd-lut-illegal.l | 208 ++++++++++++++++++ >> .../gas/aarch64/advsimd-lut-illegal.s | 128 +++++++++++ >> gas/testsuite/gas/aarch64/advsimd-lut.d | 32 +++ >> gas/testsuite/gas/aarch64/advsimd-lut.s | 29 +++ >> include/opcode/aarch64.h | 9 +- >> opcodes/aarch64-asm.c | 11 + >> opcodes/aarch64-asm.h | 1 + >> opcodes/aarch64-dis.c | 15 ++ >> opcodes/aarch64-dis.h | 1 + >> opcodes/aarch64-opc.c | 23 ++ >> opcodes/aarch64-opc.h | 2 + >> opcodes/aarch64-tbl.h | 38 +++- >> 18 files changed, 597 insertions(+), 2 deletions(-) >> create mode 100644 gas/testsuite/gas/aarch64/advsimd-lut-bad.d >> create mode 100644 gas/testsuite/gas/aarch64/advsimd-lut-bad.l >> create mode 100644 gas/testsuite/gas/aarch64/advsimd-lut-illegal.d >> create mode 100644 gas/testsuite/gas/aarch64/advsimd-lut-illegal.l >> create mode 100644 gas/testsuite/gas/aarch64/advsimd-lut-illegal.s >> create mode 100644 gas/testsuite/gas/aarch64/advsimd-lut.d >> create mode 100644 gas/testsuite/gas/aarch64/advsimd-lut.s >> > >> diff --git a/gas/NEWS b/gas/NEWS >> index 804ef3559a7..b6f40a340d2 100644 >> --- a/gas/NEWS >> +++ b/gas/NEWS >> @@ -30,6 +30,8 @@ >> >> * Add support for 'armv9.5-a' for -march in Arm GAS. >> >> +* Add support for the AArch64 Lookup Table Extension (LUT). >> + >> Changes in 2.42: >> >> * Add support for AMD znver5 processor. >> diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c >> index 3f838cfd9a0..41547866d2c 100644 >> --- a/gas/config/tc-aarch64.c >> +++ b/gas/config/tc-aarch64.c >> @@ -1513,6 +1513,54 @@ parse_vector_reg_list (char **ccp, aarch64_reg_type type, >> return error ? PARSE_FAIL : (ret_val << 2) | (nb_regs - 1); >> } >> >> +/* Parse a SIMD vector register with a bit index. The SIMD vectors with >> + bit indices don't have type qualifiers. >> + >> + Return null if the string pointed to by *CCP is not a valid AdvSIMD >> + vector register with a bit index. >> + >> + Otherwise return the register and the bit index information >> + in *typeinfo. >> + >> + The validity of the bit index itself is checked separately in encoding. >> + */ >> + >> +static const reg_entry * >> +parse_simd_vector_with_bit_index (char **ccp, struct vector_type_el *typeinfo) >> +{ >> + char *str = *ccp; >> + const reg_entry *reg = parse_reg (&str); >> + struct vector_type_el atype; >> + >> + // Setting it here as this is the convention followed in the >> + // rest of the code with indices. >> + atype.defined = NTA_HASINDEX; >> + // This will be set to correct value in parse_index_expressions. >> + atype.index = 0; >> + // The rest of the fields are not applicable for this operand. >> + atype.type = NT_invtype; >> + atype.width = -1; >> + atype.element_size = 0; >> + >> + if (reg == NULL) >> + return NULL; >> + >> + if (reg->type != REG_TYPE_V) >> + return NULL; >> + >> + // Parse the bit index. >> + if (!skip_past_char (&str, '[')) >> + return NULL; >> + if (!parse_index_expression (&str, &atype.index)) >> + return NULL; >> + if (!skip_past_char (&str, ']')) >> + return NULL; >> + >> + *typeinfo = atype; >> + *ccp = str; >> + return reg; >> +} >> + >> /* Directives: register aliases. */ >> >> static reg_entry * >> @@ -6790,6 +6838,23 @@ parse_operands (char *str, const aarch64_opcode *opcode) >> info->reglane.index = vectype.index; >> break; >> >> + case AARCH64_OPND_Em_INDEX1_14: >> + case AARCH64_OPND_Em_INDEX2_13: >> + case AARCH64_OPND_Em_INDEX3_12: >> + // These are SIMD vector operands with bit indices. For example, >> + // 'V27[3]'. These operands don't have type qualifiers before >> + // indices. >> + reg = parse_simd_vector_with_bit_index(&str, &vectype); >> + >> + if (!reg) >> + goto failure; >> + gas_assert (vectype.defined & NTA_HASINDEX); >> + >> + info->qualifier = AARCH64_OPND_QLF_NIL; >> + info->reglane.regno = reg->number; >> + info->reglane.index = vectype.index; >> + break; >> + >> case AARCH64_OPND_SVE_ZnxN: >> case AARCH64_OPND_SVE_ZtxN: >> case AARCH64_OPND_SME_Zdnx2: >> @@ -6812,6 +6877,7 @@ parse_operands (char *str, const aarch64_opcode *opcode) >> goto vector_reg_list; >> >> case AARCH64_OPND_LVn: >> + case AARCH64_OPND_LVn_LUT: >> case AARCH64_OPND_LVt: >> case AARCH64_OPND_LVt_AL: >> case AARCH64_OPND_LEt: >> @@ -10481,6 +10547,7 @@ static const struct aarch64_option_cpu_value_table aarch64_features[] = { >> {"cpa", AARCH64_FEATURE (CPA), AARCH64_NO_FEATURES}, >> {"faminmax", AARCH64_FEATURE (FAMINMAX), AARCH64_FEATURE (SIMD)}, >> {"fp8", AARCH64_FEATURE (FP8), AARCH64_FEATURE (SIMD)}, >> + {"lut", AARCH64_FEATURE (LUT), AARCH64_FEATURE (SIMD)}, >> {NULL, AARCH64_NO_FEATURES, AARCH64_NO_FEATURES}, >> }; >> >> diff --git a/gas/doc/c-aarch64.texi b/gas/doc/c-aarch64.texi >> index 4da18077f1b..bdfb504a5c5 100644 >> --- a/gas/doc/c-aarch64.texi >> +++ b/gas/doc/c-aarch64.texi >> @@ -293,6 +293,8 @@ automatically cause those extensions to be disabled. >> @tab Enable the Checked Pointer Arithmetic extension. >> @item @code{fp8} @tab >> @tab Enable the Floating Point 8 (FP8) extension. >> +@item @code{lut} @tab >> + @tab Enable the Lookup Table (LUT) extension. >> @end multitable > > We should keep this list alphabeticized, but we can fix this and the other two > misplaced additions in a follow-up commit. > > It would make more sense to put this hunk and the NEWS updates in the last > patch of the series (once full support is present), but I think it's ok here as > long as the whole series is pushed together. > We have the NEWS and texi update in this patch rather than the last because the flag and the feature were introduced in this patch. I am planning a follow up patch to fix texi.