وو

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

وو

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

PMULHW

PMULHW 

Usage:  PMULHW    dest,src                        Modifies flags: None

Performs an SIMD signed multiply of the packed signed word integers in the 'dest' and the 'src', and stores the high 16 bits of each intermediate 32-bit result in the 'dest'  operand.

Multiply Packed 16-bit Integers, and Store


PMULHW mm1,mm2/m64            ; 0F E5 /r             [PENT,MMX]

PMULLW mm1,mm2/m64            ; 0F D5 /r             [PENT,MMX]


PMULHW xmm1,xmm2/m128         ; 66 0F E5 /r     [WILLAMETTE,SSE2]

PMULLW xmm1,xmm2/m128         ; 66 0F D5 /r     [WILLAMETTE,SSE2]


PMULxW takes two packed unsigned 16-bit integer inputs, and multiplies the values in the inputs, forming doubleword results.


PMULHW then stores the top 16 bits of each doubleword in the destination (first) operand;


PMULLW stores the bottom 16 bits of each doubleword in the destination operand.


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 destination operand can be an MMX technology register or an XMM register.



EXAMPLE:

pmulhw xmm1 Label