Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- iAPx86 - <b>pcmpeqd packed compare for equal, doubleword</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
PCMPEQD         Packed Compare for Equal, Doubleword

PCMPEQD destination, source                          CPU: MMX

        Logic   if mm(31..0)  = mm/m64(31..0)
                     mm(31..0) <- 0FFFFFFFFh
                else mm(31..0) <- 0
                endif
                if mm(63..32) = mm/m64(63..32)
                     mm(63..32) <- 0FFFFFFFFh
                else mm(63..32) <- 0
                endif

    PCMPEQD compares the doublewords in the destination operand to the
    corresponding doublewords in the source operand. If the data elements
    are equal, the corresponding data element in destination is set to
    all ones. If they are not equal, the corresponding data element is
    set to all zeros. 

    The destination operand is an MMX register. The source operand can
    either be an MMX register or a 64-bit memory operand.


    Opcode      Format
    0F 76 /r    PCMPEQD mm, mm/m64

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson