Webcentive RISC-V Reference

vmv.v.x

Vector scalar to vector move

Extension
V
XLEN
RV32 and RV64
Assembly (riscv-unified-db)
vmv.v.x vd, xs1
Length
32-bit

Encoding

31262524201915141211760
010111100000rs1100vd1010111

Match 0x5e004057, mask 0xfff0707f. Source: vmv.v.x 31..26=0x17 25=1 24..20=0 rs1 14..12=0x4 vd 6..0=0x57 in riscv-opcodes/extensions/rv_v.

FieldBitsriscv-opcodes name
rs119:15rs1
vd11:7vd

Description

Broadcasts scalar register xs1 to all elements of vector register vd, using vector mask vm. This operation creates a vector with identical elements.

Description from riscv-unified-db, reformatted.

Specification and related pages