From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-sender-0.a4lg.com (mail-sender.a4lg.com [153.120.152.154]) by sourceware.org (Postfix) with ESMTPS id B1F8F38618D7 for ; Sun, 22 May 2022 09:11:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B1F8F38618D7 Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail-sender-0.a4lg.com (Postfix) with ESMTPSA id 42AF8300089; Sun, 22 May 2022 09:11:34 +0000 (UTC) From: Tsukasa OI To: Tsukasa OI , Palmer Dabbelt , Nelson Chu , Kito Cheng Cc: binutils@sourceware.org Subject: [PATCH 0/1] RISC-V: Zfh extension diagnostic addition Date: Sun, 22 May 2022 18:11:29 +0900 Message-Id: In-Reply-To: References: Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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: Sun, 22 May 2022 09:11:38 -0000 Hello, This is an addition to: I and Nelson forgot to add extension diagnostics to `riscv_multi_subset_supports_ext' function (bfd/elfxx-riscv.c). This patch adds related diagnostics for instruction classes I added in my Zfh+Zfhmin PATCHSET v2. Note that, even if instruction class name suggests Zhinx and Zhinxmin, this is not represented in `riscv_multi_subset_supports_ext' since they are not officially supported yet. I note that consensus to place 'H' after 'V' is made: So, it's going to be canonical to order Zh* extensions after all Zv*. Considering compatibility and that consensus, we could change `riscv_ext_canonical_order'... from "eigmafdqlcbkjtpvn" to "eigmafdqlcbkjtpvnh" (add H to the tail) and then we can add Zhinx and Zhinxmin extensions to supported extension list: `riscv_supported_std_z_ext'. (I'm not sure **when** to do that; after new ISA manual is ratified? or now?) Tsukasa OI (1): RISC-V: Add extension diagnostics to Zfh bfd/elfxx-riscv.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) base-commit: 7d599d2e1a4fe39de46da8510c4e24bf6b698805 -- 2.34.1