From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x143.google.com (mail-il1-x143.google.com [IPv6:2607:f8b0:4864:20::143]) by sourceware.org (Postfix) with ESMTPS id AE76C3938C01 for ; Fri, 1 May 2020 09:29:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org AE76C3938C01 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-x143.google.com with SMTP id q10so3998324ile.0 for ; Fri, 01 May 2020 02:29:10 -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:content-transfer-encoding; bh=eY7dztpEX+In3Tsf/D2KAv5Rt8gYyho0dOM/91AoLqk=; b=ZrgAzwHRf36ne/EKQb9gzmJiNSn9S+PodJekqhFnLTRJ+hQTu637BKYetf3Meh6zTR AsIP4Zq95sonIWJwV+kNCV/j5oyf0Qkz78BhdTZNt/vA6a6WHcfckLQYV+jfnoQuQlsf D5zcRLbIrRuXUm4TwFYf7QyzAqe0u8TmRr2MOaPTHpVitLq5yGhRBGFf49qUHkhSTpKp tr+myBNf8QCTXGFhPMCqsTbQcqQBLsp+3UCpPkHhyxcIs6Mg4FC4XNOsVdYZKLUJTSHQ 7Y2vwowCDgNu+i5+EqMP84MMGoq/zNzkaK7kDuAgy5U6UAz2oXzUXcOrE40pQ5UAni0a anbw== 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:content-transfer-encoding; bh=eY7dztpEX+In3Tsf/D2KAv5Rt8gYyho0dOM/91AoLqk=; b=uUPfOSalsnbzVArOKAtf09L9q18beP3FFXZU7il9IusAgL9b6Bcn1kkJTxTJeTCWaL +NsJlW1+esIpGoK9DN9D9n+vkvpDaDKH1UUF/WUKWl8naCmhPOtAhTA+cC6HrUsE8XPj f4DuVs7lRMzT9XW3XZbdhs7DV92D0JwMZa+g08tXpjYmveNuEQOiqLcz7Z47tj7qjsCX CZdhx6ufD6yAS6UVhg2bOk6AOKqdnQEQ6GFAGOloaHD3lG851hB4jvdJwz7lGwDe6FdR WQhSHsX6/7cL0an2MP6BqtB5Mc+39LVX2P9I5i+a77aURzNmiQ3gxUMxVRNCx4CmTIWW BGIQ== X-Gm-Message-State: AGi0PuYQm81Q38RfPKb2/6Lgbd65JyZB+R2iTiDMpXidIi5HfQNZg+ok LzHREldYiyKGRZrS6MJ37ZjJILNRHlWUmRi6L/NIfA== X-Google-Smtp-Source: APiQypL+naUi/RS6A0pIMoA2piTcKq3avbs9NSvHbJX8dffEa7j4jB8PRnB6qkaWV4sszrHH7g6oxNhqiEdX560ETP8= X-Received: by 2002:a92:c794:: with SMTP id c20mr2693759ilk.273.1588325350201; Fri, 01 May 2020 02:29:10 -0700 (PDT) MIME-Version: 1.0 References: <1587208075-2462-1-git-send-email-nelson.chu@sifive.com> In-Reply-To: From: Nelson Chu Date: Fri, 1 May 2020 17:29:00 +0800 Message-ID: Subject: Re: [PATCH 0/7] RISC-V: Support version controling for ISA standard extensions and CSR To: Kito Cheng Cc: Binutils , gdb-patches@sourceware.org, Alex Bradbury , Kito Cheng Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-6.7 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: Fri, 01 May 2020 09:29:12 -0000 OK got it, I will fix this :) Thanks Nelson On Fri, May 1, 2020 at 12:10 AM Kito Cheng wrote: > > > > > * -misa-spec =3D [2p0|2p1|2p2|20190608|20191213] > > You can simply choose the ISA spec by this option, and then assembler w= ill set > > the version for the standard extensions if you don=E2=80=99t set in the= ELF arch > > attributes or -march option. > > Could you change this into 2.0|2.1|... instead of 2p0|2p1|... ? > Unlike arch string has specified by spec, it must use `p` instead of `.`. > so I think there is no necessary to use `p` here. > > > * --with-isa-spec =3D [2p0|2p1|2p2|20190608|20191213] > > The syntax is same as -misa-spec option. Assembler will check this if > > -misa-spec option isn=E2=80=99t set. > > Same comment as -misa-spec. > > > * -mpriv-spec=3D[1p9|1p9p1|1p10|1p11] > > This is used to set the privileged spec=E2=80=99s version, and we can d= ecide whether > > the CSR is valid or not. > > Change to 1.9 instead of 1p9. > > > > > =3D=3D=3D New Default Configure Option =3D=3D=3D > > > > * --with-priv-spec =3D [1p9|1p9p1|1p10|1p11] > > Same comment as -mpriv-spec=3D