وو

وحید آنلاین . آرشیو وبلاگ وحیدمی دات آی آر . شرکت بیان. vahidmy.blog.ir

وو

وحید آنلاین . آرشیو وبلاگ وحیدمی دات آی آر . شرکت بیان. vahidmy.blog.ir

PADDUSW

PADDUSW 

Usage:  PADDUSW    dest,src                       Modifies flags: None

Performs an SIMD add of the packed unsigned integers from the 'src' and the 'dest' , and stores the packed integer results in the 'dest' operand. These instructions can operate on either 64-bit or 128-bit operands. 

Add Packed Unsigned Integers With Saturation


PADDUSB mm1,mm2/m64           ; 0F DC /r             [PENT,MMX]

PADDUSW mm1,mm2/m64           ; 0F DD /r             [PENT,MMX]


PADDUSB xmm1,xmm2/m128        ; 66 0F DC /r   [WILLAMETTE,SSE2]

PADDUSW xmm1,xmm2/m128        ; 66 0F DD /r   [WILLAMETTE,SSE2]


PADDUSx performs packed addition of the two operands, storing the result in the destination (first) operand. PADDUSB treats the operands as packed bytes, and adds each byte individually; and PADDUSW treats the operands as packed words.


When an individual result is too large to fit in its destination, a saturated value is stored. The resulting value is the maximum value that will fit in the available space.


EXAMPLE:

paddusw xmm1 Label