The packed arithmetic instructions perform packed integer arithmetic on packed byte, word, and doubleword integers.
Table 3–22 Packed Arithmetic Instructions (MMX)
Solaris Mnemonic |
Intel/AMD Mnemonic |
Description |
Notes |
---|---|---|---|
PADDB |
add packed byte integers | ||
PADDD |
add packed doubleword integers | ||
PADDSB |
add packed signed byte integers with signed saturation | ||
PADDSW |
add packed signed word integers with signed saturation | ||
PADDUSB |
add packed unsigned byte integers with unsigned saturation | ||
PADDUSW |
add packed unsigned word integers with unsigned saturation | ||
PADDW |
add packed word integers | ||
PMADDWD |
multiply and add packed word integers | ||
PMULHW |
multiply packed signed word integers and store high result | ||
PMULLW |
multiply packed signed word integers and store low result | ||
PSUBB |
subtract packed byte integers | ||
PSUBD |
subtract packed doubleword integers | ||
PSUBSB |
subtract packed signed byte integers with signed saturation | ||
PSUBSW |
subtract packed signed word integers with signed saturation | ||
PSUBUSB |
subtract packed unsigned byte integers with unsigned saturation | ||
PSUBUSW |
subtract packed unsigned word integers with unsigned saturation | ||
PSUBW |
subtract packed word integers |