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

fld

T1 riscv load_store insn
Floating-Point Load 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 fld instruction loads a double-precision floating-point value from memory into floating-point register fd. 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

fld fd, imm(xs1) | xxxxxxxxxxxxxxxxx011xxxxx0000111 (mask=0x0000707f match=0x00003007)

Cross-Chip Latency & Throughput (11 cores)

MicroarchitectureLatency (cycles)Recip. TPuopsPortsSource
Andes 45-Series311Andes45LSUllvm_sched_models
SiFive 7-Series (U74)311PipeAllvm_sched_models
Syntacore SCR7311LSUllvm_sched_models
SpacemiT X10040.251SMTX100_LSQllvm_sched_models
SpacemiT X60 (K1)40.51SMX60_LSllvm_sched_models
Tenstorrent Ascalon-X411AscalonLSllvm_sched_models
XiangShan KunMingHu40.331XSPipeLDUllvm_sched_models
SiFive P670 / P60050.51SiFiveP600LDSTllvm_sched_models
SiFive P870 / P80050.331SiFiveP800Loadllvm_sched_models
XiangShan NanHu50.51XS2LDllvm_sched_models
MIPS P8700 (RISC-V)811p8700IssueLSUllvm_sched_models

Binary Encodings (1)

WidthFormatBit PatternMask / Match
32RVxxxxxxxxxxxxxxxxx011xxxxx00001110x0000707f / 0x00003007

Operands

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

Reference Notes

The `fld` instruction loads a double-precision floating-point value from memory into floating-point
register `fd`. 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.