x86 Assembly Language Reference Manual

Conversion Instructions (MMX)

The conversion instructions pack and unpack bytes, words, and doublewords.

Table 3–21 Conversion Instructions (MMX)

Solaris Mnemonic 

Intel/AMD Mnemonic 

Description 

Notes 

packssdw

PACKSSDW

pack doublewords into words with signed saturation 

 

packsswb

PACKSSWB

pack words into bytes with signed saturation 

 

packuswb

PACKUSWB

pack words into bytes with unsigned saturation 

 

punpckhbw

PUNPCKHBW

unpack high-order bytes 

 

punpckhdq

PUNPCKHDQ

unpack high-order doublewords 

 

punpckhwd

PUNPCKHWD

unpack high-order words 

 

punpcklbw

PUNPCKLBW

unpack low-order bytes 

 

punpckldq

PUNPCKLDQ

unpack low-order doublewords 

 

punpcklwd

PUNPCKLWD

unpack low-order words