From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7896) id E686B3858412; Mon, 16 Oct 2023 04:13:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E686B3858412 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Tsukasa OI To: bfd-cvs@sourceware.org Subject: [binutils-gdb] RISC-V: Remove RV64E conflict X-Act-Checkin: binutils-gdb X-Git-Author: Tsukasa OI X-Git-Refname: refs/heads/master X-Git-Oldrev: de59d50076b6558dfe21b74efc091c3f9def88fd X-Git-Newrev: f1a0961ee09281ba3ddce1abb0541b45c4185094 Message-Id: <20231016041356.E686B3858412@sourceware.org> Date: Mon, 16 Oct 2023 04:13:56 +0000 (GMT) X-BeenThere: binutils-cvs@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Binutils-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Oct 2023 04:13:57 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Df1a0961ee092= 81ba3ddce1abb0541b45c4185094 commit f1a0961ee09281ba3ddce1abb0541b45c4185094 Author: Tsukasa OI Date: Tue Jul 25 01:02:01 2023 +0000 RISC-V: Remove RV64E conflict =20 Since RV32E *and* RV64E are ratified, RV64E is no longer invalid. =20 This commit removes a restriction that prevents making base ISA with reduced GPRs with XLEN > 32. =20 bfd/ChangeLog: =20 * elfxx-riscv.c (riscv_parse_check_conflicts): Remove RV64E conflict since the ratified 'E' base ISAs include RV64E. =20 gas/ChangeLog: =20 * testsuite/gas/riscv/march-fail-base-02.d: Removed. * testsuite/gas/riscv/march-fail-base-02.l: Removed. Diff: --- bfd/elfxx-riscv.c | 7 ------- gas/testsuite/gas/riscv/march-fail-base-02.d | 3 --- gas/testsuite/gas/riscv/march-fail-base-02.l | 2 -- 3 files changed, 12 deletions(-) diff --git a/bfd/elfxx-riscv.c b/bfd/elfxx-riscv.c index 6ed657171f0..c070394a366 100644 --- a/bfd/elfxx-riscv.c +++ b/bfd/elfxx-riscv.c @@ -1945,13 +1945,6 @@ riscv_parse_check_conflicts (riscv_parse_subset_t *r= ps) int xlen =3D *rps->xlen; bool no_conflict =3D true; =20 - if (riscv_lookup_subset (rps->subset_list, "e", &subset) - && xlen > 32) - { - rps->error_handler - (_("rv%d does not support the `e' extension"), xlen); - no_conflict =3D false; - } if (riscv_subset_supports (rps, "e") && riscv_subset_supports (rps, "h")) { diff --git a/gas/testsuite/gas/riscv/march-fail-base-02.d b/gas/testsuite/g= as/riscv/march-fail-base-02.d deleted file mode 100644 index cfe085ab21a..00000000000 --- a/gas/testsuite/gas/riscv/march-fail-base-02.d +++ /dev/null @@ -1,3 +0,0 @@ -#as: -march=3Drv64e -#source: empty.s -#error_output: march-fail-base-02.l diff --git a/gas/testsuite/gas/riscv/march-fail-base-02.l b/gas/testsuite/g= as/riscv/march-fail-base-02.l deleted file mode 100644 index 52fee96af36..00000000000 --- a/gas/testsuite/gas/riscv/march-fail-base-02.l +++ /dev/null @@ -1,2 +0,0 @@ -.*Assembler messages: -.*Error: rv64 does not support the `e' extension