Is rd a floating-point register for FLEQ.S?
No. rd is an integer register holding the Boolean result 0 or 1.
Single-precision floating-point quiet less-or-equal comparison; writes x[rd]=1 when true, otherwise 0.
FLEQ.S compares the single-precision floating-point values in f[rs1] and f[rs2] and writes the Boolean result to integer register rd. It is a quiet comparison: quiet NaNs do not set NV, signaling NaNs set NV, and any NaN operand makes the result 0. The result is not a floating-point value and is not rounded by rm.
FLEQ.S writes the floating-point comparison result to integer register x[rd]. It has quiet-comparison semantics, useful when quiet NaNs should not raise NV.
Understand this scenario with real code like «fleq.s x10, f11, f12 ; x10 = (f11 <= f12) ? 1 : 0 (quiet)».
Understand this scenario with real code like «fleq.s x10, f11, f12 ; x10 = (f11 <= f12) ? 1 : 0 (quiet)».
No. rd is an integer register holding the Boolean result 0 or 1.
Any NaN operand makes the result 0; only signaling NaNs set NV.