_mm_packs_epi32

Microsoft Specific

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

__m128i _mm_packs_epi32 (__m128i a, __m128i b);
PACKSSDW

Return Value

r0 := SignedSaturate(a0)
r1 := SignedSaturate(a1)
r2 := SignedSaturate(a2)
r3 := SignedSaturate(a3)
r4 := SignedSaturate(b0)
r5 := SignedSaturate(b1)
r6 := SignedSaturate(b2)
r7 := SignedSaturate(b3)

Requirements

Header: emmintrin.h

END Microsoft Specific

See Also

Concepts

Miscellaneous Operations (Integer SSE2 Intrinsics)