Export (0) Print
Expand All

_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

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

Header: emmintrin.h

END Microsoft Specific

Community Additions

ADD
Show:
© 2014 Microsoft