From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-sender-0.a4lg.com (mail-sender-0.a4lg.com [IPv6:2401:2500:203:30b:4000:6bfe:4757:0]) by sourceware.org (Postfix) with ESMTPS id 3757A385800B for ; Thu, 28 Jul 2022 13:02:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3757A385800B Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail-sender-0.a4lg.com (Postfix) with ESMTPSA id A26D6300089; Thu, 28 Jul 2022 13:02:11 +0000 (UTC) From: Tsukasa OI To: Tsukasa OI , Nelson Chu , Kito Cheng , Palmer Dabbelt Cc: binutils@sourceware.org Subject: [PATCH v2 0/1] RISC-V: Add `OP_V' to .insn named opcodes Date: Thu, 28 Jul 2022 22:02:04 +0900 Message-Id: In-Reply-To: References: Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, SPF_HELO_NONE, SPF_PASS, TXREP 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: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jul 2022 13:02:16 -0000 Hello, This small patch adds OP_V to named opcode list for .insn directive. Changes (v1 -> v2): - Rebase - Add testcase Tracker on GitHub: Sidenote: I started listing my Binutils submissions on my GitHub Wiki: hoping that current status and conflicting patches are clear. OP-V (0x57) is an opcode for vector instructions (defined on now ratified V extension). It adds OP_V to named constants of .insn directive (note that replacing - with _ is standard on GNU Binutils' .insn). Although vector instruction encoding is not implemented in .insn directive, it will help future implementation of custom vector .insn. If Zp* extensions are ratified, we could add OP_P (0x77) likewise. Thanks, Tsukasa Tsukasa OI (1): RISC-V: Add `OP_V' to .insn named opcodes gas/config/tc-riscv.c | 2 +- gas/testsuite/gas/riscv/insn-dwarf.d | 17 +++++++++-------- gas/testsuite/gas/riscv/insn.d | 3 ++- gas/testsuite/gas/riscv/insn.s | 2 ++ 4 files changed, 14 insertions(+), 10 deletions(-) base-commit: 2eb132bdfb915c9721294871ce857c4dad522ce1 -- 2.34.1