_mm_subs_epi8

Microsoft Specific

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

__m128i _mm_subs_epi8 (__m128i a, __m128i b);
PSUBSB

Return Value

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

Requirements

Header: emmintrin.h

END Microsoft Specific

See Also

Reference

Arithmetic Operations (Integer SSE2 Intrinsics)