3-390
INSTRUCTION SET REFERENCE
MAXSS—Scalar Single-FP Maximum
Description
The MAXSS instruction returns the maximum SP FP number from the lower SP FP numbers of
XMM1 and XMM2/Mem; the upper three fields are passed through from xmm1. If the values
being compared are both zeroes, source2 (xmm2/m128) will be returned. If source2
(xmm2/m128) is an sNaN, this sNaN is forwarded unchanged to the destination (i.e., a quieted
version of the sNaN is not returned).
Figure 3-37. Operation of the MAXSS Instruction
OpcodeInstruction
Description
F3,0F,5F,/rMAXSS xmm1,
xmm2/m32
Return the maximum SP FP number between the lower SP FP
numbers from XMM2/Mem and XMM1.
Xmm1
Xmm2/
m32
MAXSS xmm1, xmm2/m32
107.3
267.0
>
267.0
Xmm1
=