vmv.v.i
riscv_unified_db)RV32 / RV64 (Ratified & Standard Extensions)
main
userZvl32bSummary
Copies a sign-extended 5-bit immediate value to all body elements of the destination vector register group. This is an unmasked instruction (vm=1).
Syntax / Encoding
vmv.v.i vd, imm | 010111100000xxxxx011xxxxx1010111 (mask=0xfff0707f match=0x5e003057)
Cross-Chip Latency & Throughput (11 cores)
| Microarchitecture | Latency (cycles) | Recip. TP | uops | Ports | Source |
|---|---|---|---|---|---|
| Andes AX45MPV | — | 1 | — | RVV 1.0, VLEN=512 | rvv_bench_timings |
| SiFive P870 | — | 0.5 | — | RVV 1.0, VLEN=128 | rvv_bench_timings |
| SiFive X280 | — | 2.14 | — | RVV 1.0, VLEN=512 (Tenstorrent Blackhole) | rvv_bench_timings |
| SpacemiT X100 | — | 1 | — | RVV 1.0, VLEN=256 | rvv_bench_timings |
| SpacemiT X60 | — | 2 | — | RVV 1.0, VLEN=256 | rvv_bench_timings |
| Tenstorrent Ascalon-X | — | 0.5 | — | RVV 1.0, VLEN=256 | rvv_bench_timings |
| XuanTie C906 | — | 4 | — | RVV 0.7.1, VLEN=128 (Allwinner D1) | rvv_bench_timings |
| XuanTie C908 | — | 2 | — | RVV 1.0, VLEN=128 (Kendryte K230) | rvv_bench_timings |
| XuanTie C910 | — | 0.5 | — | RVV 0.7.1, VLEN=128 (TH1520) | rvv_bench_timings |
| XuanTie C920 (SG2042) | — | 0.5 | — | RVV 0.7.1, VLEN=128 (Milk-V Pioneer) | rvv_bench_timings |
| XuanTie C920v2 | — | 0.5 | — | RVV 1.0, VLEN=128 | rvv_bench_timings |
Binary Encodings (1)
| Width | Format | Bit Pattern | Mask / Match |
|---|---|---|---|
| 32 | RV | 010111100000xxxxx011xxxxx1010111 | 0xfff0707f / 0x5e003057 |
Operands
| Name | Description |
|---|---|
imm | bits [19:15], sign-extended |
vd | bits [11:7] |
Reference Notes
Copies a sign-extended 5-bit immediate value to all body elements of the destination vector register group. This is an unmasked instruction (vm=1). The 5-bit immediate (simm[4:0]) is sign-extended to SEW bits and written to each body element of the destination vector register group (elements from vstart to vl-1). Prestart elements (indices less than vstart) are unchanged. Tail elements (indices >= vl) are handled according to the tail agnostic/undisturbed policy.