_mm_adds_epu16

Microsoft Specific

Adds the 8 unsigned 16-bit integers in a to the 8 unsigned 16-bit integers in b and saturates.

__m128i _mm_adds_epu16 (__m128i a, __m128i b);
PADDUSW

Return Value

r0 := UnsignedSaturate(a0 + b0)
r1 := UnsignedSaturate(a1 + b1)
...
r15 := UnsignedSaturate(a7 + b7)

Requirements

Header: emmintrin.h

END Microsoft Specific

See Also

Reference

Arithmetic Operations (Integer SSE2 Intrinsics)