What is the offset unit for c.fldsp?
The encoded immediate is scaled by access width: 8 bytes for double-precision and 4 bytes for single-precision.
Load double FP from sp+offset. CI format, RV32DC/RV64DC.
c.fldsp loads a 64-bit double-precision value from sp plus a zero-extended offset scaled by 8 into floating-point fd.
Shows only manual-defined 16-bit fields, operands, and ISA-visible results; it does not model a pipeline, cache, timing, or an implementation's memory-fault handling.
This load teaching environment fixes FLEN=64. With a wider FLEN, the 64-bit transfer writes ones to the upper f-register bits, creating a valid NaN-boxed value.
Naturally aligned accesses do not raise an address-misaligned exception; whether a misaligned access completes or raises an address-misaligned/access-fault exception is EEI-defined. This control displays only the selected outcome branch.
c.fldsp loads a 64-bit double-precision value from sp plus a zero-extended offset scaled by 8 into floating-point fd.
Understand this scenario with real code like «c.fldsp f0, 16(sp) # f0 = *(sp+16)».
The encoded immediate is scaled by access width: 8 bytes for double-precision and 4 bytes for single-precision.
Yes. Double-precision forms require D, single-precision forms require F, and all require C.