VMV.X.S

Vector Move Scalar to Integer

VMV.X.S rd, vs2

Copies element 0 of a vector to an integer register.

Details

Moves element 0 of vector vs2 to GPR rd.

Pseudocode Operation

rd = vs2[0];

Example

VMV.X.S t0, v4

Encoding

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

Operands

  • rd
    Dest (Int)
  • vs2
    Source (Vector)