3-515
INSTRUCTION SET REFERENCE
PMINSW—Packed Signed Integer Word Minimum (Continued)
Operation
IF DEST[15-0] < SRC/m64[15-0]) THEN
(DEST[15-0] = DEST[15-0];
ELSE
(DEST[15-0] = SRC/m64[15-0];
FI
IF DEST[31-16] < SRC/m64[31-16]) THEN
(DEST[31-16] = DEST[31-16];
ELSE
(DEST[31-16] = SRC/m64[31-16];
FI
IF DEST[47-32] < SRC/m64[47-32]) THEN
(DEST[47-32] = DEST[47-32];
ELSE
(DEST[47-32] SRC/m64[47-32];
FI
IF DEST[63-48] < SRC/m64[63-48]) THEN
(DEST[63-48] = DEST[63-48];
ELSE
(DEST[63-48] = SRC/m64[63-48];
FI
Intel C/C++ Compiler Intrinsic Equivalent
Pre-4.0 Intel C/C++ Compiler intrinsic:
__m64 _m_pminsw(__m64 a, __m64 b)
Version 4.0 and later Intel C/C++ Compiler intrinsic:
__m64 _mm_min_pi16(__m64 a, __m64 b)
Computes the element-wise minimum of the words in a and b.
Numeric Exceptions
None.