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

vl

T1 riscv register register
Vector Length
SourceRISC-V Official Unified Database (riscv-unified-db) (riscv_unified_db)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeRISC-V Privileged (Zvl32b)
RV32 / RV64 (Ratified & Standard Extensions)
License & VersionApache-2.0 / CC-BY-4.0
main
Upstreamhttps://github.com/riscv/riscv-unified-db
PrivilegeU
ExtensionsZvl32b

Summary

Holds an unsigned integer specifying number of elements to be updated with results from a vector instruction.

Syntax / Encoding

CSR 0xc20 (U-mode, RO)

Bitfields (1)

BitsFieldDescription
63:0VALUEThe vl register holds an unsigned integer specifying the number of elements to be updated with results from a vector instruction, as further detailed in Section Section 31.5.4. [NOTE] The number of bits implemented in vl depends on the implementation's maximum vector length of the smallest supported type. The smallest