What is the main difference from the ordinary form?
The M form returns canonical NaN if either input is NaN; the ordinary form returns the other non-NaN operand when exactly one input is NaN.
Return the minimum of two single-precision floating-point operands.
FMINM.S is the Zfa single-precision IEEE 754-2019 minimum operation: if either input is NaN, the result is canonical NaN; otherwise it returns the numerically smaller operand and handles -0.0 versus +0.0 as specified.
Shows the Zfa + F-extension single-precision OP-FP flow: decode fields, read FP operands, perform FMINM semantics, then write rd.
The word is split as an R-type OP-FP instruction; single-precision OP-FP instructions use opcode 1010011.
The default example shows the official signed-zero ordering: -0.0 is less than +0.0. If either input is NaN, Zfa FMINM/FMAXM returns canonical NaN; a signaling NaN sets NV.
The default example shows the official signed-zero ordering: -0.0 is less than +0.0. If either input is NaN, Zfa FMINM/FMAXM returns canonical NaN; a signaling NaN sets NV.
This animation shows only Zfa + F-extension ISA-visible OP-FP encoding, example numeric results, and fflags relationship; it does not model FPU pipelines, latency, every IEEE 754 corner case, or microarchitecture.
FMINM.S's key search point is NaN handling. The M form is the Zfa version and returns canonical NaN if either input is NaN.
Understand this scenario with real code like «fminm.s f10, f11, f12 ; IEEE 754-2019 min».
Understand this scenario with real code like «fminm.s f10, f11, f12 ; IEEE 754-2019 min».
The M form returns canonical NaN if either input is NaN; the ordinary form returns the other non-NaN operand when exactly one input is NaN.
No. It selects between two operands and has no rm rounding field.