C.FLWSP
Compressed Float Load Word from Stack Pointer
C.FLWSP rd, offset(x2)
Loads a single-precision float from the stack pointer.
Encoding
Binary Layout
?
31:16
011
15:13
c_uimm8sphi
12
rd
11:7
c_uimm8splo
6:2
10
1:0
Operands
-
rd
Destination register (integer) -
offset
Offset
Example
C.FLWSP t0, 0(a0)
Related
More in C
Reference
View in RISC-V Unprivileged ISA Specification ↗
RISC-V ISA Manual
Description
Loads a single-precision FP value from a stack-pointer-relative address into fd (RV32 only).
Operation
F[rd] = M[R[2] + offset][31:0];