Freigeben über


_mm_packs_epi16

Microsoft Specific

Packs the 16 signed 16-bit integers from a and b into 8-bit integers and saturates.

__m128i _mm_packs_epi16 (__m128i a, __m128i b);
PACKSSWB

Return Value

r0 := SignedSaturate(a0)
r1 := SignedSaturate(a1)
...
r7 := SignedSaturate(a7)
r8 := SignedSaturate(b0)
r9 := SignedSaturate(b1)
...
r15 := SignedSaturate(b7)

Requirements

Header: emmintrin.h

END Microsoft Specific

See Also

Reference

Miscellaneous Operations (Integer SSE2 Intrinsics)