ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 1,823 microarchs · 16,083 chips · 105 sources
Arch:
Tier:

siselect

T1 riscv register register
Supervisor Indirect Register Select
SourceRISC-V Official Unified Database (riscv-unified-db) (riscv_unified_db)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeRISC-V Privileged (Smcsrind, Sscsrind)
RV32 / RV64 (Ratified & Standard Extensions)
License & VersionApache-2.0 / CC-BY-4.0
main
Upstreamhttps://github.com/riscv/riscv-unified-db
PrivilegeS
ExtensionsSmcsrind, Sscsrind

Summary

The siselect register will support the value range 0..0xFFF at a minimum. A future extension may define a value range outside of this minimum range. Only if such an extension is implemented will siselect be required to support larger values.

Syntax / Encoding

CSR 0x150 (S-mode, RW)

Bitfields (1)

BitsFieldDescription
63:0VALUEValue ranges are allocated to dependent extensions, which specify the register state accessible via each sireg* register, for each siselect value. [RV32: 31:0, RV64: 63:0]

Reference Notes

The `siselect` register will support the value range 0..0xFFF at a minimum. A future extension may
define a value range outside of this minimum range. Only if such an extension is implemented will
`siselect` be required to support larger values.

Requiring a range of 0-0xFFF for `siselect`, even though most or all of the space may be reserved or
inaccessible, permits M-mode to emulate indirectly accessed registers in this implemented range,
including registers that may be standardized in the future.

Values of `siselect` with the most-significant bit set (bit XLEN - 1 = 1) are designated only for
custom use, presumably for accessing custom registers through the alias CSRs. Values of `siselect`
with the most-significant bit clear are designated only for standard use and are reserved until
allocated to a standard architecture extension. If XLEN is changed, the most-significant bit of
`siselect` moves to the new position, retaining its value from before.