vfmv.v.f
Vector floating-point to vector move
- Extension
- V
- XLEN
- RV32 and RV64
- Assembly (riscv-unified-db)
vfmv.v.f vd, fs1- Length
- 32-bit
Encoding
| 3126 | 25 | 2420 | 1915 | 1412 | 117 | 60 | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 010111 | 1 | 00000 | rs1 | 101 | vd | 1010111 | |||||||||||||||||||||||||
Match 0x5e005057, mask 0xfff0707f. Source: vfmv.v.f 31..26=0x17 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 floating-point element from scalar register fs1 to vector register vd, using vector mask vm. This operation creates a vector with a single floating-point value.
Description from riscv-unified-db, reformatted.