3-391
INSTRUCTION SET REFERENCE
MAXSS—Scalar Single-FP Maximum (Continued)
Operation
IF (DEST[31-0]=NaN) THEN
DEST[31-0] = SRC[31-0];
ELSE
IF (SRC[31-0] = NaN) THEN
DEST[31-0] = SRC[31-0];
ELSE
IF (DEST[31-0] > SRC/m128[31-0]) THEN
DEST[31-0] = DEST[31-0];
ELSE
DEST[31-0] = SRC/m128[31-0];
FI
FI
FI
DEST[63-32]=DEST[63-32];
DEST[95-64]=DEST[95-64];
DEST[127-96]=DEST[127-96];
Intel C/C++ Compiler Intrinsic Equivalent
__m128 _mm_max_ss(__m128 a, __m128 b)
Computes the maximum of the lower SP FP values of a and b; the upper three SP FP values are
passed through from a.
Exceptions
None.
Numeric Exceptions
Invalid (including qNaN source operand), Denormal.