pmaddubsw

Multiply and Add Packed Signed and Unsigned Bytes

PMADDUBSW xmm1, xmm2/m128

Multiplies signed/unsigned bytes and adds pairs to words.

Details

The Multiply and Add Packed Signed and Unsigned Bytes instruction multiplies signed/unsigned bytes and adds pairs to words.

Pseudocode Operation

// Multiplies signed/unsigned bytes and adds pairs to words

Example

PMADDUBSW xmm1, xmm2/m128

Encoding

Binary Layout
66
+0
0F
+1
38
+2
04
+3
 
Format SSSE3
Opcode 66 0F 38 04
Extension SSSE3

Operands

  • dest
    XMM
  • src
    XMM/Mem