You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UNRATIFIED RISC-V: Add 'Ssqosid' extension and its TENTATIVE CSRs
[DO NOT MERGE]
Until the 'Ssqosid' extension is frozen/ratified and the final version
number is determined, this patch should not be merged upstream. This
commit uses version 0.1 as the placeholder, not version 0.0.0 in the latest
PDF documentation (since 0.0 is invalid).
This commit adds QoS registration interface for S-mode ('Ssqosid' extension)
support based on the specification:
<riscv-non-isa/riscv-cbqri@3e06bc5>
***Draft Note***
Because CSR addresse is not fixed yet, this commit uses tentative
addresse (a part of custom CSR space).
bfd/ChangeLog:
* elfxx-riscv.c (riscv_implicit_subsets) Add implications to
'Zicsr'. (riscv_supported_std_s_ext): Add 'Ssqosid' extension to
valid 'S' extension list.
gas/ChangeLog:
* config/tc-riscv.c (enum riscv_csr_class): Add CSR class for
the 'Ssqosid' extension. (riscv_csr_address): Add handling for
new CSR class.
* testsuite/gas/riscv/csr-dw-regnums.d: Add new CSR.
* testsuite/gas/riscv/csr-dw-regnums.s: Likewise.
* testsuite/gas/riscv/csr.s: Add new CSR.
* testsuite/gas/riscv/csr-version-1p9p1.d: Likewise.
* testsuite/gas/riscv/csr-version-1p9p1.l: Likewise.
* testsuite/gas/riscv/csr-version-1p10.d: Likewise.
* testsuite/gas/riscv/csr-version-1p10.l: Likewise.
* testsuite/gas/riscv/csr-version-1p11.d: Likewise.
* testsuite/gas/riscv/csr-version-1p11.l: Likewise.
* testsuite/gas/riscv/csr-version-1p12.d: Likewise.
* testsuite/gas/riscv/csr-version-1p12.l: Likewise.
include/ChangeLog:
* opcode/riscv-opc.h (CSR_SQOSCFG): New.
0 commit comments