_mm_sad_pu8

Microsoft Specific

Computes the sum of the absolute differences of the unsigned bytes in a and b, returning the value in the lower word.

__m64 _mm_sad_pu8(__m64 a, __m64 b);
PSADBW

The upper three words are cleared.

r0 = abs(a0-b0) + ... + abs(a7-b7)
r1 = r2 = r3 = 0 

Header: mmintrin.h

END Microsoft Specific

Community Additions

ADD
Show: