x86 Assembly Language Reference Manual

Comparison Instructions (MMX)

The compare instructions compare packed bytes, words, or doublewords.

Table 3–23 Comparison Instructions (MMX)

Solaris Mnemonic 

Intel/AMD Mnemonic 

Description 

Notes 

pcmpeqb

PCMPEQB

compare packed bytes for equal 

 

pcmpeqd

PCMPEQD

compare packed doublewords for equal 

 

pcmpeqw

PCMPEQW

compare packed words for equal 

 

pcmpgtb

PCMPGTB

compare packed signed byte integers for greater than 

 

pcmpgtd

PCMPGTD

compare packed signed doubleword integers for greater than 

 

pcmpgtw

PCMPGTW

compare packed signed word integers for greater than