mpsadbw

Compute Multiple Sums of Absolute Differences

MPSADBW xmm1, xmm2/m128, imm8

Computes multiple SADs of byte blocks.

Details

The Compute Multiple Sums of Absolute Differences instruction computes multiple SADs of byte blocks.

Pseudocode Operation

// Computes multiple SADs of byte blocks

Example

MPSADBW xmm1, xmm2/m128, 3

Encoding

Binary Layout
66
+0
0F
+1
3A
+2
42
+3
 
Format SSE4.1
Opcode 66 0F 3A 42
Extension SSE4.1

Operands

  • dest
    XMM
  • src
    XMM/Mem
  • sel
    Imm