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

c.fsdsp

T1 riscv alu insn
Store double-precision value to stack
SourceRISC-V Official Unified Database (riscv-unified-db) (riscv_unified_db)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeRV32/RV64 Zcd
RV32 / RV64 (Ratified & Standard Extensions)
License & VersionApache-2.0 / CC-BY-4.0
main
Upstreamhttps://github.com/riscv/riscv-unified-db
Privilegeuser
ExtensionsZcd

Summary

Stores a double-precision floating-point value in floating-point register fs2 to memory. It computes an effective address by adding the zero-extended offset, scaled by 8, to the stack pointer, x2. It expands to fsd fs2, offset(x2).

Syntax / Encoding

c.fsdsp fs2, imm(sp) | 101xxxxxxxxxxx10 (mask=0xe003 match=0xa002)

Binary Encodings (1)

WidthFormatBit PatternMask / Match
16RV101xxxxxxxxxxx100xe003 / 0xa002

Operands

NameDescription
immbits [9:7,12:10], shifted << 3
fs2bits [6:2]

Reference Notes

Stores a double-precision floating-point value in floating-point register fs2 to memory.
It computes an effective address by adding the zero-extended offset, scaled by 8,
to the stack pointer, x2.
It expands to `fsd` `fs2, offset(x2)`.