Is FCVT.S.L available on RV32?
No. The official F/D conversion rules define the L/LU 64-bit integer forms as RV64-only.
RV64 signed 64-bit integer-to-single precision conversion, rounded by rm/frm and written to FP rd.
FCVT.S.L is an RV64-only integer-to-floating-point conversion. It converts the signed 64-bit integer in x[rs1] according to rm to single precision and writes f[rd]; NX is set when the target FP format cannot represent the value exactly.
Shows the F-extension FCVT flow: decode OP-FP fields, fmt/rs2 conversion selection, the rm rounding field, read the integer source, then write the floating-point destination.
Leave rm empty for the assembly default dyn (111); this DYN example fixes frm=RNE. Use lowercase rne/rtz/rdn/rup/rmm/dyn only.
Assume required extensions and FP state are enabled, applicable source NaN-boxing is valid, and initial fflags=0. Results preview the current input; Writeback represents commit.
The word is split as an R-type OP-FP instruction; FCVT uses opcode 1010011.
The current 64-bit integer example is exactly representable as S format, so example fflags remains 0.
The current 64-bit integer example is exactly representable as S format, so example fflags remains 0.
This animation shows only F-extension FCVT ISA-visible encoding, source/destination register direction, rounding field, and example fflags; it does not model FPU pipelines, exception handling, NaN payloads, or microarchitecture.
RV64 signed 64-bit integer-to-single precision conversion, rounded by rm/frm and written to FP rd.
Understand this scenario with real code like «fcvt.s.l f0, x10, rne # x10 = 16777217 -> f0 = 16777216; NX (RV64)».
No. The official F/D conversion rules define the L/LU 64-bit integer forms as RV64-only.
This is an integer-to-FP conversion: rd is an FP register and rs1 is an integer register.
The rs2 field selects the L signed 64-bit integer format; it is not a second source operand in assembly syntax.