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
| 3126 | 25 | 2420 | 1915 | 1412 | 117 | 60 | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 010111 | 1 | 00000 | rs1 | 100 | vd | 1010111 | |||||||||||||||||||||||||
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.
| Field | Bits | riscv-opcodes name |
|---|---|---|
| rs1 | 19:15 | rs1 |
| vd | 11:7 | vd |
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.