VSLIDE1DOWN.VX
Vector Slide One Element Down
VSLIDE1DOWN.VX vd, vs2, rs1, vm
Moves elements down by 1, injecting scalar into top index.
Encoding
Binary Layout
001111
31:26
vm
25
vs2
24:20
rs1
19:15
110
14:12
vd
11:7
1010111
6:0
Operands
-
vd
Destination vector register -
vs2
Src Vec -
rs1
Scalar
Example
VSLIDE1DOWN.VX v1, v4, a0, v0.t
Related
More in V
Reference
View in RISC-V Unprivileged ISA Specification ↗
RISC-V ISA Manual
Description
Slides vector elements down by the specified offset, filling vacated positions with zero or the value from vs1[0].
Operation
vd[i] = vs2[i+1]; vd[vl-1] = rs1;