Intel ITANIUM ARCHITECTURE - SOFTWARE DEVELOPERS MANUAL VOLUME 1 REV 2.3 Manual page 1728

Hide thumbs Also See for ITANIUM ARCHITECTURE - SOFTWARE DEVELOPERS MANUAL VOLUME 1 REV 2.3:
Table of Contents

Advertisement

PCMPGTB/PCMPGTW/PCMPGTD—Packed Compare for Greater Than
Opcode
0F 64 /r
0F 65 /r
0F 66 /r
Description
Compare the individual signed data elements (bytes, words, or doublewords) in the
destination operand (first operand) to the corresponding signed data elements in the
source operand (second operand). (See
destination operand is greater than its corresponding data element in the source
operand, the data element in the destination operand is set to all ones; otherwise, it is
set to all zeros. The destination operand must be an MMX technology register; the
source operand may be either an MMX technology register or a 64-bit memory location.
Figure 3-11.
mm
mm/m64
mm
The PCMPGTB instruction compares the signed bytes in the destination operand to the
corresponding signed bytes in the source operand, with the bytes in the destination
operand being set according to the results.
The PCMPGTW instruction compares the signed words in the destination operand to the
corresponding signed words in the source operand, with the words in the destination
operand being set according to the results.
The PCMPGTD instruction compares the signed doublewords in the destination operand
to the corresponding signed doublewords in the source operand, with the doublewords
in the destination operand being set according to the results.
4:426
Instruction
PCMPGTB mm, mm/m64
PCMPGTW mm, mm/m64 Compare packed words in mm with packed words in
PCMPGTD mm, mm/m64 Compare packed doublewords in mm with packed
Operation of the PCMPGTW Instruction
PCMPGTW mm, mm/m64
0000000000000000
0000000000000001
>
0000000000000000
0000000000000000
False
0000000000000000
1111111111111111
Description
Compare packed bytes in mm with packed bytes in mm/m64
for greater value.
mm/m64 for greater value.
doublewords in mm/m64 for greater value.
Figure
3-11.) If a data element in the
0000000000000111
>
>
0111000111000111
True
False
0000000000000000
®
Volume 4: IA-32 Intel
MMX™ Technology Instruction Reference
0111000111000111
>
0111000111000111
False
0000000000000000
3006021

Advertisement

Table of Contents
loading

This manual is also suitable for:

Itanium architecture 2.3

Table of Contents