3-494
INSTRUCTION SET REFERENCE
PCMPEQB/PCMPEQW/PCMPEQD—Packed Compare for Equal
(Continued)
Operation
IF instruction is PCMPEQB
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 PCMPEQW
THEN
IF DEST(15..0) = SRC(15..0)
THEN DEST(15..0)
<
FFFFH;
ELSE DEST(15..0)
<
0;
* Continue comparison of second and third words in DEST and SRC *
IF DEST(63..48) = SRC(63..48)
THEN DEST(63..48)
<
FFFFH;
ELSE DEST(63..48)
<
0;
ELSE (* instruction is PCMPEQD *)
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;