_mm256_cvtepu8_epi16/32/64

Performs packed move with zero-extend on 8-bit unsigned integers to 16/32/64-bit integers. The corresponding Intel® AVX2 instruction is VPMOVZXBW,VPMOVZXBD, or VPMOVZXBQ.

Syntax

extern __m256i _mm256_cvtepu8_epi16(__m128i s1);

extern __m256i _mm256_cvtepu8_epi32(__m128i s1);

extern __m256i _mm256_cvtepu8_epi64(__m128i s1);

Arguments

s1

128-bit integer source vector used for the operation

Description

Performs a packed move with zero-extend operation to convert 8-bit [byte] integers in the low bytes of the source vector, s1, to 16-bit [word], 32-bit [doubleword], or 64-bit [quadword] integers and stored as packed unsigned word/doubleword/quadword integers in the destination vector.

Returns

Result of the zero-extend operation.

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