Skip to content

Commit 0abcefa

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 d734d43 commit 0abcefa

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
@@ -1942,13 +1942,6 @@ riscv_parse_check_conflicts (riscv_parse_subset_t *rps)
19421942
int xlen = *rps->xlen;
19431943
bool no_conflict = true;
19441944

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