25.02.2015 Views

AMD 64-Bit Technology - ECE User Home Pages

AMD 64-Bit Technology - ECE User Home Pages

AMD 64-Bit Technology - ECE User Home Pages

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.02—August 2002<br />

<strong>AMD</strong> <strong>64</strong>-<strong>Bit</strong> <strong>Technology</strong><br />

PCMPEQD<br />

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 128-bit memory location.<br />

Mnemonic Opcode Description<br />

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

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

xmm1<br />

. .<br />

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

0<br />

xmm2/mem128<br />

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

0<br />

compare<br />

all 1s or 0s<br />

. .<br />

compare<br />

all 1s or 0s<br />

. .<br />

pcmpeqd-128.eps<br />

Related Instructions<br />

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

rFLAGS Affected<br />

None<br />

MXCSR Flags Affected<br />

None<br />

PCMPEQD 237

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

Saved successfully!

Ooh no, something went wrong!