Webcentive RISC-V Reference

vfmv.f.s

Vector floating-point to scalar move

Extension
V
XLEN
RV32 and RV64
Assembly (riscv-unified-db)
vfmv.f.s fd, vs2
Length
32-bit

Encoding

31262524201915141211760
0100001vs200000001rd1010111

Match 0x42001057, mask 0xfe0ff07f. Source: vfmv.f.s 31..26=0x10 25=1 vs2 19..15=0 14..12=0x1 rd 6..0=0x57 in riscv-opcodes/extensions/rv_v.

FieldBitsriscv-opcodes name
vs224:20vs2
rd11:7rd

Description

Moves floating-point element from vector register vs2 to scalar floating-point register fd, using vector mask vm. This operation extracts a single element from the vector.

Description from riscv-unified-db, reformatted.

Specification and related pages