phaddw
Packed Horizontal Add Word
PHADDW xmm1, xmm2/m128
Adds adjacent 16-bit integers horizontally.
Details
The Packed Horizontal Add Word instruction adds adjacent 16-bit integers horizontally.
Pseudocode Operation
// Adds adjacent 16-bit integers horizontally
Example
PHADDW xmm1, xmm2/m128
Operands
-
dest
128-bit XMM SIMD register
-
src
128-bit XMM SIMD register or Memory operand