PMAXSW
Usage: PMAXSW dest,src Modifies flags: None
Performs an SIMD compare of the packed signed word integers in the 'dest' and the 'src' and returns the maximum value for each pair of word integers to the 'dest' operand.
Packed Signed Integer Word Maximum
PMAXSW mm1,mm2/m64 ; 0F EE /r [KATMAI,MMX]
PMAXSW xmm1,xmm2/m128 ; 66 0F EE /r [WILLAMETTE,SSE2]
PMAXSW compares each pair of words in the two source operands, and for each pair it stores the maximum value in the destination register.
The 'src' operand can be an MMX technology register or a 64-bit memory location, or it can be an XMM register or a 128-bit memory location. The 'dest' operand can be an MMX technology register or an XMM register.
EXAMPLE:
pmaxsw xmm1 Label