vfmv.s.f
Vector scalar to floating-point move
- Extension
- V
- XLEN
- RV32 and RV64
- Assembly (riscv-unified-db)
vfmv.s.f vd, fs1- Length
- 32-bit
Encoding
| 3126 | 25 | 2420 | 1915 | 1412 | 117 | 60 | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 010000 | 1 | 00000 | rs1 | 101 | vd | 1010111 | |||||||||||||||||||||||||
Match 0x42005057, mask 0xfff0707f. Source: vfmv.s.f 31..26=0x10 25=1 24..20=0 rs1 14..12=0x5 vd 6..0=0x57 in riscv-opcodes/extensions/rv_v.
| Field | Bits | riscv-opcodes name |
|---|---|---|
| rs1 | 19:15 | rs1 |
| vd | 11:7 | vd |
Description
Moves scalar floating-point value from register fs1 to all elements of vector register vd, using vector mask vm. This operation broadcasts a scalar to a vector.
Description from riscv-unified-db, reformatted.