paddsw

Packed Add Signed Saturation Word

PADDSW xmm1, xmm2/m128

Adds 16-bit words with signed saturation.

Details

The Packed Add Signed Saturation Word instruction adds 16-bit words with signed saturation.

Pseudocode Operation

// Adds 16-bit words with signed saturation

Example

PADDSW xmm1, xmm2/m128

Encoding

Binary Layout
66
+0
0F
+1
ED
+2
 
Format SSE2
Opcode 66 0F ED
Extension SSE2

Operands

  • dest
    128-bit XMM SIMD register
  • src
    128-bit XMM SIMD register or Memory operand