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