_mm_subs_epu8

Microsoft Specific

Subtracts the 16 unsigned 8-bit integers of b from the 16 unsigned 8-bit integers of a and saturates.

__m128i _mm_subs_epu8 (__m128i a, __m128i b);
PSUBUSB

Return Value

r0 := UnsignedSaturate(a0 - b0)
r1 := UnsignedSaturate(a1 - b1)
...
r15 := UnsignedSaturate(a15 - b15)

Requirements

Header: emmintrin.h

END Microsoft Specific

See Also

Reference

Arithmetic Operations (Integer SSE2 Intrinsics)