From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x144.google.com (mail-il1-x144.google.com [IPv6:2607:f8b0:4864:20::144]) by sourceware.org (Postfix) with ESMTPS id 546BA3939C3B for ; Tue, 19 May 2020 09:07:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 546BA3939C3B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=sifive.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=nelson.chu@sifive.com Received: by mail-il1-x144.google.com with SMTP id o67so8045730ila.0 for ; Tue, 19 May 2020 02:07:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CntgPUTb/mS0cm5QG/lJD3scwkHWGB2NcpnX277yXTc=; b=P3uxzDyQ6vuvnoeoz0GEXW66dpaBRKcAE4S0KfO/7mkXXCQjpmz7z0cZj/MbaZb/JZ fr9UDBEhmfK1DZiP8pcFzxpKVgRKfdX9EzNSdao+PXm5nyzr7lSBjAylayfLj1+t2qd5 CeR/IPJrS7eqQeI3livO99A2ITYnCoMdNh6jH/KRVBm/TwzpeLYaW0Xk3fDjEI6izlGS H6T7xW0mvUR2XbXvZDSjJNcTyuK+/x4TB6zTzSvnUsN6WsevlvhF8KPvbV2q2S8T9/Bp 3mL/5gVCkLUHhBW3qubVKwlMAH4T5h1g6dY0/vKfijTn7v816PcmUFrQz13MJCgwJuvh 9wOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CntgPUTb/mS0cm5QG/lJD3scwkHWGB2NcpnX277yXTc=; b=bJtrrlyoDQfq5LhXHJ+jXjExLKcAfHYXItpFKbba1MQIydRK1E+ItCX36p3KjSH8xy rp2gIsmsDqTlgkkxsk/vXuAHi2rWIF6pCyVkt3EHTyPNGlvopm+AmshZhnpbg61ZRQxN J517THUtRYzkCY6C55pL7Kko3z4cEnboe7+57DsJKD2aBtLvYOmpAwHlscnFSPxFMOZU 0DUBxDJ3CtfqNk51InFeh2ergmLhVHl/lsvUAMMQAOlwJnMu5OiTrCrdeBt0f5LN5jwc 1dZaNlMUEv83+cTmI25iWXobfPIxDT2FYp8qNuAZnTsVfP6lwnk+JM/4dYPmAv4yvIht uZJw== X-Gm-Message-State: AOAM532KZFRMPEOIEKUKcVbKOd0Q7ElvLNxEFptfSikbvDL8umlAuVfa l47ZcdpfHYnAiw4PuQhjTNLg+Z2SDvllhqzibyQKoQ== X-Google-Smtp-Source: ABdhPJzjPMBJoTQ6zSbdxFZAFcPhM5cmWvxzw2VBH6E0YI7xRSN15fw0aQrQKuH+Mjn3kjAqEn4Ja2yYXdGAa917nAA= X-Received: by 2002:a92:5e52:: with SMTP id s79mr18475846ilb.33.1589879253809; Tue, 19 May 2020 02:07:33 -0700 (PDT) MIME-Version: 1.0 References: <1588733747-18787-1-git-send-email-nelson.chu@sifive.com> In-Reply-To: <1588733747-18787-1-git-send-email-nelson.chu@sifive.com> From: Nelson Chu Date: Tue, 19 May 2020 17:07:22 +0800 Message-ID: Subject: Re: [PATCH v2 0/9] RISC-V: Support version controling for ISA standard extensions and CSR To: Binutils , gdb-patches@sourceware.org Cc: Palmer Dabbelt , Kito Cheng , Jim Wilson , Andrew Waterman , Andrew Burgess , Alex Bradbury , Maxim Blinov Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2020 09:07:35 -0000 PING :) On Wed, May 6, 2020 at 10:55 AM Nelson Chu wrote: > > Hi binutils and gdb, > > After getting some good feedbacks, I refactor the series of patches. > These patches are tested and get toolchain regressions pass. > There are some differences from the last version, > > 1. Remove the -mriscv-isa-version and --with-riscv-isa-version options. > We can still use -march to choose the version for each extensions, so there is > no need to add these. > > 2. Change the arguments of options from [1p9|1p9p1|...] to [1.9|1.9.1|...]. > Unlike the architecture string has specified by spec, ther is no need to do > the same thing for options. > > 3. Spilt the patches to reduce the burdens of review. > > [PATCH 3/7] RISC-V: Support new GAS options and configure options to set ISA versions > to > [PATCH v2 3/9] RISC-V: Support GAS option -misa-spec to set ISA versions > [PATCH v2 4/9] RISC-V: Support configure options to set ISA versions by default. > > [PATCH 4/7] RISC-V: Support version checking for CSR according to privilege version. > to > [PATCH v2 5/9] RISC-V: Support version checking for CSR according to privilege spec version. > [PATCH v2 6/9] RISC-V: Support configure option to choose the privilege spec version. > > 4. Use enum class rather than string to compare the choosen ISA spec in opcodes/riscv-opc.c. > The behavior is same as comparing the choosen privilege spec. > > Thanks > Nelson >