Skip to content

Commit 2d1d895

Browse files
committed
RISC-V: Remove RV64E conflict
Since RV32E *and* RV64E are ratified, RV64E is no longer invalid. This commit removes a restriction that prevents making base ISA with reduced GPRs with XLEN > 32. bfd/ChangeLog: * elfxx-riscv.c (riscv_parse_check_conflicts): Remove RV64E conflict since the ratified 'E' base ISAs include RV64E. gas/ChangeLog: * testsuite/gas/riscv/march-fail-base-02.d: Removed. * testsuite/gas/riscv/march-fail-base-02.l: Removed.
1 parent 2d7f310 commit 2d1d895

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

bfd/elfxx-riscv.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1941,13 +1941,6 @@ riscv_parse_check_conflicts (riscv_parse_subset_t *rps)
19411941
int xlen = *rps->xlen;
19421942
bool no_conflict = true;
19431943

1944-
if (riscv_lookup_subset (rps->subset_list, "e", &subset)
1945-
&& xlen > 32)
1946-
{
1947-
rps->error_handler
1948-
(_("rv%d does not support the `e' extension"), xlen);
1949-
no_conflict = false;
1950-
}
19511944
if (riscv_lookup_subset (rps->subset_list, "q", &subset)
19521945
&& (subset->major_version < 2 || (subset->major_version == 2
19531946
&& subset->minor_version < 2))

gas/testsuite/gas/riscv/march-fail-base-02.d

Lines changed: 0 additions & 3 deletions
This file was deleted.

gas/testsuite/gas/riscv/march-fail-base-02.l

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)