Specifications
Intel
®
64 and IA-32 Architectures Software Developer’s Manual Documentation Changes 129
Documentation Changes
PHSUBW/PHSUBD — Packed Horizontal Subtract
Instruction Operand Encoding
...
PHSUBSW — Packed Horizontal Subtract and Saturate
Instruction Operand Encoding
...
Opcode Instruction Op/
En
64-Bit
Mode
Compat/
Leg Mode
Description
0F 38 05 /r PHSUBW mm1,
mm2/m64
A Valid Valid Subtract 16-bit signed
integers horizontally, pack
to MM1.
66 0F 38 05 /r PHSUBW xmm1,
xmm2/m128
A Valid Valid Subtract 16-bit signed
integers horizontally, pack
to XMM1.
0F 38 06 /r PHSUBD mm1,
mm2/m64
A Valid Valid Subtract 32-bit signed
integers horizontally, pack
to MM1.
66 0F 38 06 /r PHSUBD xmm1,
xmm2/m128
AValid Valid Subtract 32-bit signed
integers horizontally, pack
to XMM1.
Op/En Operand 1 Operand 2 Operand 3 Operand 4
A ModRM:reg (r, w) ModRM:r/m (r) NA NA
Opcode Instruction Op/
En
64-Bit
Mode
Compat/
Leg Mode
Description
0F 38 07 /r PHSUBSW mm1,
mm2/m64
A Valid Valid Subtract 16-bit signed
integer horizontally, pack
saturated integers to MM1.
66 0F 38 07 /r PHSUBSW xmm1,
xmm2/m128
A Valid Valid Subtract 16-bit signed
integer horizontally, pack
saturated integers to XMM1
Op/En Operand 1 Operand 2 Operand 3 Operand 4
A ModRM:reg (r, w) ModRM:r/m (r) NA NA