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