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.
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.