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 18ABA384D143 for ; Thu, 6 Oct 2022 04:50:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 18ABA384D143 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=irq.a4lg.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=irq.a4lg.com Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail-sender-0.a4lg.com (Postfix) with ESMTPSA id 79F63300089; Thu, 6 Oct 2022 04:50:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=irq.a4lg.com; s=2017s01; t=1665031855; bh=gXae7i6uQKzvDXJy7dh1DxKuvUOcMSEDlXY7eD08Z/Q=; h=Message-ID:Date:Mime-Version:Subject:To:References:From: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=ahMllpUsHtxS7TABmU+QQWGLnvjoP0BaaPTTSjnmPcnexF6VoyM2L+6JD/9tIxZaf RpR7NO4aZy39YfCx6znfBP1uNf5I1/tW+dtS1e9wo2tdWW/5jZlrT97D4xUz5+Lq+9 XyoyWnJzApIv27152pdSjt3dyPGHzexMFX9s7SJM= Message-ID: <209f360b-fb46-323f-82e5-58461c131989@irq.a4lg.com> Date: Thu, 6 Oct 2022 13:50:54 +0900 Mime-Version: 1.0 Subject: Re: [PATCH] RISC-V: Zicbo{m,p,z} adjustments to riscv_multi_subset_supports_ext() Content-Language: en-US To: Jan Beulich , Binutils References: From: Tsukasa OI In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.1 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 List-Id: On 2022/10/04 22:56, Jan Beulich via Binutils wrote: > The lack thereof did caused gas to issue "internal: unreachable > INSN_CLASS_*" errors when trying to assemble respective insns without > the feature(s) enabled via e.g. ".option arch, ...". Of course a proper > hint towards the missing extension then wasn't given either. > > --- a/bfd/elfxx-riscv.c > +++ b/bfd/elfxx-riscv.c > @@ -2440,6 +2440,12 @@ riscv_multi_subset_supports_ext (riscv_p > { > case INSN_CLASS_I: > return "i"; > + case INSN_CLASS_ZICBOM: > + return "zicbom"; > + case INSN_CLASS_ZICBOP: > + return "zicbop"; > + case INSN_CLASS_ZICBOZ: > + return "zicboz"; I confirmed that those three are the last ones to be added to this function. Thanks! > case INSN_CLASS_ZICSR: > return "zicsr"; > case INSN_CLASS_ZIFENCEI: >