Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 7/13/2023
Public
Document Table of Contents

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>

_mm_packus_epi32

__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