← Home

vl

Vector Length

Address: 0xC20 (3104) · Privilege: U · Length: XLEN · Read-only · Defined by: Zvl32b

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

Fields

RV32

31:2423:1615:87:0
VALUE

RV64

63:5655:4847:4039:3231:2423:1615:87:0
VALUE
BitsFieldAliasDescriptionTypeReset
RV32 [31:0]
RV64 [63:0]
VALUEThe 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 vector implementation with VLEN=32 and supporting SEW=8 would need at least six bits in vl to hold the values 0-32 (VLEN=32, with LMUL=8 and SEW=8, yields VLMAX=32).RO-H
return (FOLLOW_VTYPE_RESET_RECOMMENDATION)? 0 : UNDEFINED_LEGAL;

Version af3eaf9+cheriot.f635218

Data from the RISC-V Unified Database, copyright RISC-V International and contributors.

CHERIoT extensions from the CHERIoT specification and Sail model, copyright Microsoft and the CHERIoT Platform contributors.

This site is provided as a community resource and is NOT affiliated with nor endorsed by RISC-V International.