psadbw

Compute Sum of Absolute Differences

PSADBW xmm1, xmm2/m128

Computes absolute differences of bytes and sums them to words.

Details

The Compute Sum of Absolute Differences instruction computes absolute differences of bytes and sums them to words.

Pseudocode Operation

// Computes absolute differences of bytes and sums them to words

Example

PSADBW xmm1, xmm2/m128

Encoding

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

Operands

  • dest
    XMM
  • src
    XMM/Mem