VMV.S.X

Vector Move Integer to Scalar

VMV.S.X vd, rs1

Copies an integer register to element 0 of a vector.

Details

Moves a scalar integer value from GPR rs1 into element 0 of vd.

Pseudocode Operation

vd[0] = rs1;

Example

VMV.S.X v1, a0

Encoding

Binary Layout
010000
31:26
1
25
00000
24:20
rs1
19:15
110
14:12
vd
11:7
1010111
6:0
 
Format OPMVX
Opcode 0x57
Extension V

Operands

  • vd
    Dest (Vector)
  • rs1
    Source (Int)