3-498
INSTRUCTION SET REFERENCE
PCMPGTB/PCMPGTW/PCMPGTD—Packed Compare for Greater
Than (Continued)
Operation
IF instruction is PCMPGTB
THEN
IF DEST(7..0) > SRC(7..0)
THEN DEST(7 0)
<
FFH;
ELSE DEST(7..0)
<
0;
* Continue comparison of second through seventh bytes in DEST and SRC *
IF DEST(63..56) > SRC(63..56)
THEN DEST(63..56)
<
FFH;
ELSE DEST(63..56)
<
0;
ELSE IF instruction is PCMPGTW
THEN
IF DEST(15..0) > SRC(15..0)
THEN DEST(15..0)
<
FFFFH;
ELSE DEST(15..0)
<
0;
* Continue comparison of second and third bytes in DEST and SRC *
IF DEST(63..48) > SRC(63..48)
THEN DEST(63..48)
<
FFFFH;
ELSE DEST(63..48)
<
0;
ELSE { (* instruction is PCMPGTD *)
IF DEST(31..0) > SRC(31..0)
THEN DEST(31..0)
<
FFFFFFFFH;
ELSE DEST(31..0)
<
0;
IF DEST(63..32) > SRC(63..32)
THEN DEST(63..32)
<
FFFFFFFFH;
ELSE DEST(63..32)
<
0;
FI;