Packed DWORD to Unsigned WORD Intrinsic

The prototype for this Intel® Streaming SIMD Extensions (Intel® SSE4) intrinsic is in the smmintrin.h file.

To use this intrinsic, include the immintrin.h file as follows:

#include <immintrin.h>


__m128i _mm_packus_epi32(__m128i m1, __m128i m2);

Converts eight packed signed doublewords into eight packed unsigned words, using unsigned saturation to handle overflow condition.

Corresponding instruction: PACKUSDW

Para obtener información más completa sobre las optimizaciones del compilador, consulte nuestro Aviso de optimización.