Packed DWORD to Unsigned WORD Intrinsic

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

__m128i _mm_packus_epi32(__m128i m1, __m128i m2);

Converts 8 packed signed DWORDs into 8 packed unsigned WORDs, using unsigned saturation to handle overflow condition.

Corresponding instruction: PACKUSDW


Submit feedback on this help topic

Copyright © 1996-2010, Intel Corporation. All rights reserved.