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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

SHUFPD Shuffle Packed Double-Precision Floating-Point<br />

Moves either of the two packed double-precision floating-point values in the first<br />

source operand to the low-order quadword of the destination (first source) and moves<br />

either of the two packed double-precision floating-point values in the second source<br />

operand to the high-order quadword of the destination. In each case, the value of the<br />

destination quadword is determined by the least-significant two bits in the<br />

immediate-byte operand, as shown in Table 1-7 on page 352. The first<br />

source/destination operand is an XMM register. The second source operand is another<br />

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

Mnemonic Opcode Description<br />

SHUFPD xmm1, xmm2/mem<strong>128</strong>, imm8 66 0F C6 /r ib Shuffles packed double-precision floating-point<br />

values in an XMM register and another XMM<br />

register or <strong>128</strong>-bit memory location and puts the<br />

result in the destination XMM register.<br />

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

127 <strong>64</strong><br />

63 0<br />

mux<br />

imm8<br />

7 0<br />

127 <strong>64</strong> 63 0<br />

mux<br />

shufpd.eps<br />

SHUFPD 351

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

Saved successfully!

Ooh no, something went wrong!