Quantcast
Channel: Intel® Software - Intel ISA Extensions
Viewing all articles
Browse latest Browse all 685

How to zero extend packed unsigned 8-bit integers with an AVX intrinsic

$
0
0

I need to zero extend packed unsigned 8-bit integers with an AVX intrinsic. Question: How do you generate a "vpmovzxbd xmm, xmm" instruction with intrinsics. There seems to exist something close: __m256i _mm256_cvtepu8_epi32 (__m128i a) which generates "vpmovzxbd ymm, xmm", but this is AVX2. Regards HJ!

Thread Topic: 

How-To

Viewing all articles
Browse latest Browse all 685

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>