[PATCH 0/3] RISC-V: Add CSRs for several supervisor extensions
Tsukasa OI
research_trasio@irq.a4lg.com
Thu Feb 24 12:10:56 GMT 2022
This is based on the second half of my previous CSR addition patchset:
<https://sourceware.org/pipermail/binutils/2022-January/119282.html>
(First half [PATCH 1-3] is merged by Nelson Chu with minor changes)
See above for original submission and details.
Commit df0a549ebdae74ef9d233243b869d424e6a33c73 introduced new CSR error
reporting mechanism that is incompatible with my previous patchset.
Due to this, many expected error messages for testing need to be fixed.
Added extensions:
- Smstateen
- Sscofpmf
- Sstc
Tsukasa OI (3):
RISC-V: Add 'Smstateen' extension and its CSRs
RISC-V: Add 'Sscofpmf' extension with its CSRs
RISC-V: Add 'Sstc' extension and its CSRs
bfd/elfxx-riscv.c | 3 +
gas/config/tc-riscv.c | 27 ++
gas/testsuite/gas/riscv/csr-dw-regnums.d | 54 ++++
gas/testsuite/gas/riscv/csr-dw-regnums.s | 57 ++++
gas/testsuite/gas/riscv/csr-version-1p10.d | 108 ++++++++
gas/testsuite/gas/riscv/csr-version-1p10.l | 271 ++++++++++++++++++++
gas/testsuite/gas/riscv/csr-version-1p11.d | 108 ++++++++
gas/testsuite/gas/riscv/csr-version-1p11.l | 207 +++++++++++++++
gas/testsuite/gas/riscv/csr-version-1p12.d | 108 ++++++++
gas/testsuite/gas/riscv/csr-version-1p12.l | 187 ++++++++++++++
gas/testsuite/gas/riscv/csr-version-1p9p1.d | 108 ++++++++
gas/testsuite/gas/riscv/csr-version-1p9p1.l | 271 ++++++++++++++++++++
gas/testsuite/gas/riscv/csr.s | 60 +++++
include/opcode/riscv-opc.h | 114 ++++++++
14 files changed, 1683 insertions(+)
base-commit: 7190ae0d393d09c3c1f24add83d1e90727402749
--
2.32.0
More information about the Binutils
mailing list