fsd
Floating-Point Store Double-Precision
- Extension
- D
- XLEN
- RV32 and RV64
- Assembly (riscv-unified-db)
fsd fs2, imm(xs1)- Length
- 32-bit
Encoding
| 3125 | 2420 | 1915 | 1412 | 117 | 62 | 10 | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| imm[11:5] | rs2 | rs1 | 011 | imm[4:0] | 01001 | 11 | |||||||||||||||||||||||||
Match 0x00003027, mask 0x0000707f. Source: fsd imm12hi rs1 rs2 imm12lo 14..12=3 6..2=0x09 1..0=3 in riscv-opcodes/extensions/rv_d.
| Field | Bits | riscv-opcodes name |
|---|---|---|
| imm[11:5] | 31:25 | imm12hi |
| rs2 | 24:20 | rs2 |
| rs1 | 19:15 | rs1 |
| imm[4:0] | 11:7 | imm12lo |
Description
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.
Description from riscv-unified-db, reformatted.