_mm_subs_epi16

Microsoft Specific

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

__m128i _mm_subs_epi16 (__m128i a, __m128i b);
PSUBSW

r0 := SignedSaturate(a0 - b0)
r1 := SignedSaturate(a1 - b1)
...
r7 := SignedSaturate(a7 - b7)

Header: emmintrin.h

END Microsoft Specific

Community Additions

ADD
Show: