C.FLWSP

Compressed Float Load Word from Stack Pointer

C.FLWSP rd, offset(x2)

Loads a single-precision float from the stack pointer.

Details

Loads a single-precision FP value from a stack-pointer-relative address into fd (RV32 only).

Pseudocode Operation

F[rd] = M[R[2] + offset][31:0];

Example

C.FLWSP t0, 0(a0)

Encoding

Binary Layout
?
31:16
011
15:13
c_uimm8sphi
12
rd
11:7
c_uimm8splo
6:2
10
1:0
 
Format CI
Opcode 0x00006002
Extension C

Operands

  • rd
    Destination register (integer)
  • offset
    Offset