VMV.X.S
Vector Move Scalar to Integer
VMV.X.S rd, vs2
Copies element 0 of a vector to an integer register.
Encoding
Binary Layout
0100001
31:25
vs2
24:20
00000010
19:12
rd
11:7
1010111
6:0
Operands
-
rd
Dest (Int) -
vs2
Source (Vector)
Example
VMV.X.S t0, v4
Related
More in V
Reference
View in RISC-V Unprivileged ISA Specification ↗
RISC-V ISA Manual
Description
Moves element 0 of vector vs2 to GPR rd.
Operation
rd = vs2[0];