PADDUSW Add Unsigned with Saturation on Word
PADDUSW destination, source CPU: MMX
Logic
mm(15..0) <- SaturateToUnsignedWord( mm(15..0) + mm/m64(15..0) )
mm(31..16) <- SaturateToUnsignedWord( mm(31..16) + mm/m64(31..16) )
mm(47..32) <- SaturateToUnsignedWord( mm(47..32) + mm/m64(47..32) )
mm(63..48) <- SaturateToUnsignedWord( mm(63..48) + mm/m64(63..48) )
PADDUSW adds the unsigned words of the source operand to the unsigned
words of the destination operand and stores the result in destination.
If the result is larger than the range of an unsigned word (overflow),
the value is saturated to 0FFFFh. If the result is smaller than the
range of an unsigned word (underflow), the value is saturated to zero.
The destination operand is an MMX register. The source operand can
either be an MMX register or a 64-bit memory operand.
Opcode Format
0F DD /r PADDUSW mm/m64