Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 12/16/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

<span class='option'>_mm256_cvtepu16_epi32/64</span>

Performs packed move with zero-extend on 16-bit unsigned integers to 32/64-bit integers. The corresponding Intel® AVX2 instruction is VPMOVZXWD or VPMOVZXWQ.

Syntax

extern __m256i _mm256_cvtepu16_epi32(__m128i s1);

extern __m256i _mm256_cvtepu16_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 16-bit [word] integers in the low bytes of the source vector, s1, to 32-bit [doubleword] or 64-bit [quadword] integers and stored as packed signed doubleword/quadword integers in the destination vector.

Returns

Result of the zero-extend operation.