diff options
author | Jiawei <jiawei@iscas.ac.cn> | 2025-05-09 10:22:45 +0800 |
---|---|---|
committer | Nelson Chu <nelson@rivosinc.com> | 2025-05-09 12:28:42 +0800 |
commit | 433372af69804bd134f250e71479860c33a51c39 (patch) | |
tree | 6563dcc5a19aa17b3c31d322221142ee55b658f3 /bfd/cpu-arc.c | |
parent | 617ead3c20a6891f825e86b33a12caea7bb9336e (diff) | |
download | binutils-433372af69804bd134f250e71479860c33a51c39.zip binutils-433372af69804bd134f250e71479860c33a51c39.tar.gz binutils-433372af69804bd134f250e71479860c33a51c39.tar.bz2 |
RISC-V: Add Privileged Architecture 1.13 CSRs.
This patch support RISC-V Privileged Architecture 1.13 CSRs 'medelegh' and
'hedelegh'. More details between 1.12 and 1.13 see [1].
[1] https://github.com/riscv/riscv-isa-manual/blob/main/src/priv-preface.adoc
Version log: Remove gas/po changes.
bfd/ChangeLog:
* cpu-riscv.c: New option.
* cpu-riscv.h (enum riscv_spec_class): Ditto.
binutils/ChangeLog:
* doc/binutils.texi: New option.
gas/ChangeLog:
* NEWS: Add priv-1.13 support.
* config/tc-riscv.c: New option.
* configure: Ditto.
* configure.ac: Ditto.
* testsuite/gas/riscv/csr-version-1p10.d: New CSR.
* testsuite/gas/riscv/csr-version-1p10.l: New warning.
* testsuite/gas/riscv/csr-version-1p11.d: New CSR.
* testsuite/gas/riscv/csr-version-1p11.l: New warning.
* testsuite/gas/riscv/csr-version-1p12.d: New CSR.
* testsuite/gas/riscv/csr-version-1p12.l: New warning.
* testsuite/gas/riscv/csr.s: New CSR.
* testsuite/gas/riscv/attribute-15.d: New test.
* testsuite/gas/riscv/attribute-16.d: New test.
* testsuite/gas/riscv/csr-version-1p13.d: New test.
* testsuite/gas/riscv/csr-version-1p13.l: New test.
include/ChangeLog:
* opcode/riscv-opc.h (CSR_MEDELEGH): New CSR.
(CSR_HEDELEGH): Ditto.
(DECLARE_CSR): Ditto.
Diffstat (limited to 'bfd/cpu-arc.c')
0 files changed, 0 insertions, 0 deletions