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.

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

PCMPEQD Packed Compare Equal Doublewords<br />

Compares corresponding packed 32-bit values in the first and second source operands<br />

and writes the result of each comparison in the corresponding 32 bits of the<br />

destination (first source). For each pair of doublewords, if the values are equal, the<br />

result is all 1s. If the values are not equal, the result is all 0s. The first<br />

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

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

Mnemonic Opcode Description<br />

PCMPEQD xmm1, xmm2/mem<strong>128</strong> 66 0F 76 /r Compares packed doublewords in an XMM register and an<br />

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

Related Instructions<br />

PCMPEQB, PCMPEQW, PCMPGTB, PCMPGTD, PCMPGTW<br />

rFLAGS Affected<br />

None<br />

MXCSR Flags Affected<br />

None<br />

compare<br />

all 1s or 0s<br />

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

. .<br />

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

31<br />

0<br />

. .<br />

compare<br />

all 1s or 0s<br />

238 PCMPEQD<br />

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

0<br />

. .<br />

pcmpeqd-<strong>128</strong>.eps

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

Saved successfully!

Ooh no, something went wrong!