Export (0) Print
Expand All

_mm_avg_epu16

Microsoft Specific

Computes the average of the 8 unsigned 16-bit integers in a and the 8 unsigned 16-bit integers in b and rounds.

__m128i _mm_avg_epu16 (__m128i a, __m128i b);
PAVGW

r0 := (a0 + b0) / 2
r1 := (a1 + b1) / 2
...
r7 := (a7 + b7) / 2

Header: emmintrin.h

END Microsoft Specific

Community Additions

ADD
Show:
© 2014 Microsoft