C.FSWSP
Compressed Float Store Word to Stack Pointer
C.FSWSP rs2, offset(x2)
Stores a single-precision float to the stack pointer.
Encoding
Binary Layout
?
31:16
111
15:13
c_uimm8sp_s
12:7
c_rs2
6:2
10
1:0
Operands
-
rs2
Source -
offset
Offset
Example
C.FSWSP a1, 0(a0)
Related
More in C
Reference
View in RISC-V Unprivileged ISA Specification ↗
RISC-V ISA Manual
Description
Stores a single-precision FP value from fd to a stack-pointer-relative address (RV32 only).
Operation
M[R[2] + offset][31:0] = F[rs2];