Intel 64 and IA-32 Architectures Software Developers Manual Volume 1, Basic Architecture
Vol. 1 10-13
PROGRAMMING WITH STREAMING SIMD EXTENSIONS (SSE)
The MINPS (return minimum of packed single-precision floating-point values)
instruction compares the corresponding values from two packed single-precision
floating-point operands and returns the numerically lesser value from each compar-
ison to the destination operand.
The MINSS (return minimum of scalar single-precision floating-point values) instruc-
tion compares the low values from two packed single-precision floating-point oper-
ands and returns the numerically lesser value from the comparison to the low
doubleword of the destination operand.
10.4.2 SSE Logical Instructions
SSE logical instructions perform AND, AND NOT, OR, and XOR operations on packed
single-precision floating-point values.
The ANDPS (bitwise logical AND of packed single-precision floating-point values)
instruction returns the logical AND of two packed single-precision floating-point
operands.
The ANDNPS (bitwise logical AND NOT of packed single-precision, floating-point
values) instruction returns the logical AND NOT of two packed single-precision
floating-point operands.
The ORPS (bitwise logical OR of packed single-precision, floating-point values)
instruction returns the logical OR of two packed single-precision floating-point oper-
ands.
The XORPS (bitwise logical XOR of packed single-precision, floating-point values)
instruction returns the logical XOR of two packed single-precision floating-point oper-
ands.
10.4.2.1 SSE Comparison Instructions
The compare instructions compare packed and scalar single-precision floating-point
values and return the results of the comparison either to the destination operand or
to the EFLAGS register.
The CMPPS (compare packed single-precision floating-point values) instruction
compares the corresponding values from two packed single-precision floating-point
operands, using an immediate operand as a predicate, and returns a 32-bit mask
result of all 1s or all 0s for each comparison to the destination operand. The value of
the immediate operand allows the selection of any of 8 compare conditions: equal,
less than, less than equal, unordered, not equal, not less than, not less than or equal,
or ordered.
The CMPSS (compare scalar single-precision, floating-point values) instruction
compares the low values from two packed single-precision floating-point operands,
using an immediate operand as a predicate, and returns a 32-bit mask result of all 1s
or all 0s for the comparison to the low doubleword of the destination operand. The
immediate operand selects the compare conditions as with the CMPPS instruction.