ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 1,823 microarchs · 16,083 chips · 105 sources
Arch:
Tier:

fsd

T1 riscv load_store insn
Floating-Point Store Double-Precision
SourceRISC-V Official Unified Database (riscv-unified-db) (riscv_unified_db)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeRV32/RV64 D
RV32 / RV64 (Ratified & Standard Extensions)
License & VersionApache-2.0 / CC-BY-4.0
main
Upstreamhttps://github.com/riscv/riscv-unified-db
Privilegeuser
ExtensionsD

Summary

The fsd instruction stores a double-precision value from the floating-point registers to memory. It is guaranteed to execute atomically if the effective address is naturally aligned and XLEN≥64. It doesn't modify the bits being transferred; in particular, the payloads of non-canonical NaNs are preserved.

Syntax / Encoding

fsd fs2, imm(xs1) | xxxxxxxxxxxxxxxxx011xxxxx0100111 (mask=0x0000707f match=0x00003027)

Cross-Chip Latency & Throughput (10 cores)

MicroarchitectureLatency (cycles)Recip. TPuopsPortsSource
Andes 45-Series111Andes45LSUllvm_sched_models
MIPS P8700 (RISC-V)111p8700IssueLSUllvm_sched_models
SiFive 7-Series (U74)111PipeAllvm_sched_models
SiFive P670 / P60010.51SiFiveP600LDSTllvm_sched_models
SiFive P870 / P80010.51SiFiveP800LDSTllvm_sched_models
SpacemiT X10010.251SMTX100_LSQllvm_sched_models
Tenstorrent Ascalon-X111AscalonLSllvm_sched_models
XiangShan NanHu10.51XS2STllvm_sched_models
Syntacore SCR7311LSUllvm_sched_models
SpacemiT X60 (K1)40.51SMX60_LSllvm_sched_models

Binary Encodings (1)

WidthFormatBit PatternMask / Match
32RVxxxxxxxxxxxxxxxxx011xxxxx01001110x0000707f / 0x00003027

Operands

NameDescription
immbits [31:25,11:7], sign-extended
fs2bits [24:20]
xs1bits [19:15]

Reference Notes

The `fsd` instruction stores a double-precision value from the floating-point registers to memory. It is guaranteed to execute
atomically if the effective address is naturally aligned and XLEN≥64. It doesn't modify the bits being transferred; in particular,
the payloads of non-canonical NaNs are preserved.