Partager via


_mm_sub_epi16

Microsoft Specific

Subtracts the 8 signed or unsigned 16-bit integers of b from the 8 signed or unsigned 16-bit integers of a.

__m128i _mm_sub_epi16 (__m128i a, __m128i b);
PSUBW

Return Value

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

Requirements

Header: emmintrin.h

END Microsoft Specific

See Also

Reference

Arithmetic Operations (Integer SSE2 Intrinsics)