_mm_avg_epu8
Classification
SSE_ALL, Probability/Statistics, CPUID Test: SSE2
Header File
Instruction
PAVGB xmm, xmm
Synopsis
_mm_avg_epu8(__m128i a, __m128i b);
Description
Average packed unsigned 8-bit integers in "a" and "b", and store the results in "dst".
Operation
FOR j := 0 to 15
i := j*8
dst[i+7:i] := (a[i+7:i] + b[i+7:i] + 1) >> 1
ENDFOR