09.01.2013 Views

AMD x86-64 Architecture Programmer's Manual, Volume 4, 128-Bit ...

AMD x86-64 Architecture Programmer's Manual, Volume 4, 128-Bit ...

AMD x86-64 Architecture Programmer's Manual, Volume 4, 128-Bit ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

26568—Rev. 3.05—September 2003 <strong>AMD</strong><strong>64</strong> Technology<br />

PMULHW Packed Multiply High Signed Word<br />

Multiplies each packed 16-bit signed integer value in the first source operand by the<br />

corresponding packed 16-bit signed integer in the second source operand and writes<br />

the high-order 16 bits of the intermediate 32-bit result of each multiplication in the<br />

corresponding word of the destination (first source). The first source/destination<br />

operand is an XMM register and the second source operand is another XMM register<br />

or <strong>128</strong>-bit memory location.<br />

Mnemonic Opcode Description<br />

PMULHW xmm1, xmm2/mem<strong>128</strong> 66 0F E5 /r Multiplies packed 16-bit signed integer values in an XMM<br />

register and another XMM register or <strong>128</strong>-bit memory location<br />

and writes the high-order 16 bits of each result in the<br />

destination XMM register.<br />

Related Instructions<br />

PMADDWD, PMULHUW, PMULLW, PMULUDQ<br />

rFLAGS Affected<br />

None<br />

MXCSR Flags Affected<br />

None<br />

multiply<br />

xmm1 xmm2/mem<strong>128</strong><br />

. . . . . .<br />

127 112 111 96 95 80 79 <strong>64</strong> 63 48 47 32<br />

31 16 15 0<br />

. . . . . .<br />

multiply<br />

127 112 111 96 95 80 79 <strong>64</strong> 63 48 47 32 31 16 15 0<br />

. . . . . .<br />

pmulhw-<strong>128</strong>.eps<br />

PMULHW 267

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!