Visible to Intel only — GUID: GUID-A29C377A-5D1F-4135-8100-2EFF850EA172
Visible to Intel only — GUID: GUID-A29C377A-5D1F-4135-8100-2EFF850EA172
<span class='option'> _mm256_packus_epi16/32</span>
Pack signed word/doubleword integers to unsigned byte/word integers and saturates. The corresponding Intel® AVX2 instruction is VPACKUSWB or VPACKUSDW.
extern __m256i _mm256_packus_epi16(__m256i a, __m256i b); |
extern __m256i _mm256_packus_epi32(__m256i a, __m256i b); |
a |
integer source operand used for the operation |
b |
integer source operand used for the operation |
The _mm256_packus_epi16 intrinsic converts 16 packed signed word integers from source operands a and b into 32 packed unsigned byte integers. The _mm256_packus_epi32 intrinsic converts eight packed signed doubleword integers from the source operands a and b into 16 packed unsigned word integers.
Result of the pack operation.