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 />

PUNPCKLDQ Unpack and Interleave Low Doublewords<br />

Unpacks the low-order doublewords from the first and second source operands and<br />

packs them into interleaved doublewords in the destination (first source). The highorder<br />

doublewords of the source operands are ignored. 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 />

PUNPCKLDQ xmm1, xmm2/mem<strong>128</strong> 66 0F 62 /r Unpacks two low-order doublewords in an XMM register and<br />

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

them into interleaved doublewords in the destination XMM<br />

register.<br />

127 <strong>64</strong> 63 32 31<br />

0<br />

If the second source operand is all 0s, the destination contains the doubleword(s) from<br />

the first source operand zero-extended to <strong>64</strong> bits. This operation is useful for<br />

expanding unsigned 32-bit values to unsigned <strong>64</strong>-bit operands for subsequent<br />

processing that requires higher precision.<br />

Related Instructions<br />

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

copy<br />

127 96 95 <strong>64</strong> 63 32 31<br />

0<br />

127 <strong>64</strong> 63 32 31<br />

0<br />

copy copy copy<br />

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

PUNPCKHBW, PUNPCKHDQ, PUNPCKHQDQ, PUNPCKHWD, PUNPCKLBW,<br />

PUNPCKLQDQ, PUNPCKLWD<br />

PUNPCKLDQ 335

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

Saved successfully!

Ooh no, something went wrong!