diff options
author | Jiawei <jiawei@iscas.ac.cn> | 2024-06-11 21:59:00 +0800 |
---|---|---|
committer | Nelson Chu <nelson@rivosinc.com> | 2024-06-12 08:47:19 +0800 |
commit | b7641ae1afaa39e31e70114f0ee9a295820709aa (patch) | |
tree | e01560828128115c52b90614ef7cf0e60a34d446 /libctf | |
parent | a3d147a45447c4431ea66dd37911ac9415cb4fd8 (diff) | |
download | binutils-b7641ae1afaa39e31e70114f0ee9a295820709aa.zip binutils-b7641ae1afaa39e31e70114f0ee9a295820709aa.tar.gz binutils-b7641ae1afaa39e31e70114f0ee9a295820709aa.tar.bz2 |
RISC-V: Support S[sm]csrind extension csrs.
This patch supports RISC-V Smcsrind/Sscsrind privilege extension csrs.
Reuse csr 'smselect/siselect', 'mireg/sireg' and 'vsiselect,vsireg' csrs
in Smaia/Ssaia extension.
bfd/ChangeLog:
* elfxx-riscv.c: New extensions.
gas/ChangeLog:
* NEWS: Updated.
* config/tc-riscv.c (enum riscv_csr_class): New extensions.
(riscv_csr_address): Ditto.
* testsuite/gas/riscv/csr-version-1p10.d: New csrs.
* testsuite/gas/riscv/csr-version-1p10.l: Ditto.
* testsuite/gas/riscv/csr-version-1p11.d: Ditto.
* testsuite/gas/riscv/csr-version-1p11.l: Ditto.
* testsuite/gas/riscv/csr-version-1p12.d: Ditto.
* testsuite/gas/riscv/csr-version-1p12.l: Ditto.
* testsuite/gas/riscv/csr.s: Ditto.
* testsuite/gas/riscv/march-help.l: New extensions.
include/ChangeLog:
* opcode/riscv-opc.h (CSR_MIREG2): New csr.
(CSR_MIREG3): Ditto.
(CSR_MIREG4): Ditto.
(CSR_MIREG5): Ditto.
(CSR_MIREG6): Ditto.
(CSR_SIREG2): Ditto.
(CSR_SIREG3): Ditto.
(CSR_SIREG4): Ditto.
(CSR_SIREG5): Ditto.
(CSR_SIREG6): Ditto.
(CSR_VSIREG2): Ditto.
(CSR_VSIREG3): Ditto.
(CSR_VSIREG4): Ditto.
(CSR_VSIREG5): Ditto.
(CSR_VSIREG6): Ditto.
(DECLARE_CSR): Ditto.
Diffstat (limited to 'libctf')
0 files changed, 0 insertions, 0 deletions