ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 913 microarchs · 15,555 chips · 105 sources
Arch:
Tier:

vfmv.s.f

T1 riscv fp insn
Vector scalar to floating-point move
SourceRISC-V Official Unified Database (riscv-unified-db) (riscv_unified_db)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeRV32/RV64 Zvfbfa, Zvl32b
RV32 / RV64 (Ratified & Standard Extensions)
License & VersionApache-2.0 / CC-BY-4.0
main
Upstreamhttps://github.com/riscv/riscv-unified-db
Privilegeuser
ExtensionsZvfbfa, Zvl32b

Summary

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.

Syntax / Encoding

vfmv.s.f vd, fs1 | 010000100000xxxxx101xxxxx1010111 (mask=0xfff0707f match=0x42005057)

Cross-Chip Latency & Throughput (10 cores)

MicroarchitectureLatency (cycles)Recip. TPuopsPortsSource
Andes AX45MPV—2—RVV 1.0, VLEN=512rvv_bench_timings
SiFive P870—1—RVV 1.0, VLEN=128rvv_bench_timings
SiFive X280—1.14—RVV 1.0, VLEN=512 (Tenstorrent Blackhole)rvv_bench_timings
SpacemiT X100—1—RVV 1.0, VLEN=256rvv_bench_timings
Tenstorrent Ascalon-X—0.5—RVV 1.0, VLEN=256rvv_bench_timings
XuanTie C906—4—RVV 0.7.1, VLEN=128 (Allwinner D1)rvv_bench_timings
XuanTie C908—1—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=128rvv_bench_timings

Binary Encodings (1)

WidthFormatBit PatternMask / Match
32RV010000100000xxxxx101xxxxx10101110xfff0707f / 0x42005057

Operands

NameDescription
fs1bits [19:15]
vdbits [11:7]