How does VLM.V handle masking?
It has no ordinary v0 execution mask; if a mask operand appears in the syntax, that operand is data, not an extra execution mask.
Load ceil(vl/8) contiguous bytes from memory and place their bits into the destination vector mask.
VLM.V is the RISC-V V vector mask-load instruction. It reads the compact mask byte sequence, ceil(vl/8) bytes, and maps those bits into the destination mask register. It restores or transfers RVV mask values rather than loading ordinary SEW-sized data elements.
VLM.V loads a compact stream of mask bits, not an ordinary integer vector; the memory footprint is determined by vl bits.
Understand this scenario with real code like «vlm.v v0, (a0) # load full VLEN-bit mask».
Understand this scenario with real code like «vlm.v v0, (a0) # load full VLEN-bit mask».
It has no ordinary v0 execution mask; if a mask operand appears in the syntax, that operand is data, not an extra execution mask.