What is the offset unit for c.flw?
The encoded immediate is scaled by access width: 8 bytes for double-precision and 4 bytes for single-precision.
Load SP FP from memory into fd'. CL format, RV32FC.
c.flw in RV32FC, loads a 32-bit single-precision value from rs1' plus a zero-extended offset scaled by 4 into fd'.
c.flw in RV32FC, loads a 32-bit single-precision value from rs1' plus a zero-extended offset scaled by 4 into fd'.
Understand this scenario with real code like «c.flw f8, 0(x10)».
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.