8-10
PROGRAMMING WITH THE INTEL MMX TECHNOLOGY
Table 8-2. MMX Instruction Set Summary
Category
Wraparound
Signed
Saturation
Unsigned
Saturation
ArithmeticAddition
Subtraction
Multiplication
Multiply and Add
PADDB, PADDW,
PADDD
PSUBB, PSUBW,
PSUBD
PMULL, PMULH
PMADD
PADDSB,
PADDSW
PSUBSB,
PSUBSW
PADDUSB,
PADDUSW
PSUBUSB,
PSUBUSW
ComparisonCompare for Equal
Compare for
Greater Than
PCMPEQB,
PCMPEQW,
PCMPEQD
PCMPGTPB,
PCMPGTPW,
PCMPGTPD
ConversionPack
Unpack High
Unpack Low
PUNPCKHBW,
PUNPCKHWD,
PUNPCKHDQ
PUNPCKLBW,
PUNPCKLWD,
PUNPCKLDQ
PACKSSWB,
PACKSSDW
PACKUSWB
Packed
Full Quadword
LogicalAnd
And Not
Or
Exclusive OR
PAND
PANDN
POR
PXOR
Shift
Shift Left Logical
Shift Right Logical
Shift Right
Arithmetic
PSLLW, PSLLD
PSRLW, PSRLD
PSRAW, PSRAD
PSLLQ
PSRLQ
Doubleword TransfersQuadword Transfers
Data TransferRegister to Register
Load from Memory
Store to Memory
MOVD
MOVD
MOVD
MOVQ
MOVQ
MOVQ
Empty
MMX State
EMMS