x86 Assembly Language Reference Manual

Exit Print View

Updated: December 2014
 
 

3.13.3 Packed Arithmetic Instructions (MMX)

The packed arithmetic instructions perform packed integer arithmetic on packed byte, word, and doubleword integers.

Table 3-32  Packed Arithmetic Instructions (MMX)
Oracle Solaris Mnemonic
Intel/AMD Mnemonic
Description
Notes
paddb
PADDB
add packed byte integers
paddd
PADDD
add packed doubleword integers
paddsb
PADDSB
add packed signed byte integers with signed saturation
paddsw
PADDSW
add packed signed word integers with signed saturation
paddusb
PADDUSB
add packed unsigned byte integers with unsigned saturation
paddusw
PADDUSW
add packed unsigned word integers with unsigned saturation
paddw
PADDW
add packed word integers
pmaddwd
PMADDWD
multiply and add packed word integers
pmulhw
PMULHW
multiply packed signed word integers and store high result
pmullw
PMULLW
multiply packed signed word integers and store low result
psubb
PSUBB
subtract packed byte integers
psubd
PSUBD
subtract packed doubleword integers
psubsb
PSUBSB
subtract packed signed byte integers with signed saturation
psubsw
PSUBSW
subtract packed signed word integers with signed saturation
psubusb
PSUBUSB
subtract packed unsigned byte integers with unsigned saturation
psubusw
PSUBUSW
subtract packed unsigned word integers with unsigned saturation
psubw
PSUBW
subtract packed word integers