_mm_packus_epi16

Microsoft Specific

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

__m128i _mm_packus_epi16 (__m128i a, __m128i b);
PACKUSWB

Return Value

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

Requirements

Header: emmintrin.h

END Microsoft Specific

See Also

Concepts

Miscellaneous Operations (Integer SSE2 Intrinsics)