# _mm256_cvtepi16_epi32/64

Performs packed move with sign-extend on 16-bit signed integers to 32/64-bit integers. The corresponding Intel® AVX2 instruction is VPMOVSXWD orVPMOVSXWQ.

## Syntax

extern __m256i _mm256_cvtepi16_epi32(__m128i s1);

extern __m256i _mm256_cvtepi16_epi64(__m128i s1);

## Arguments

s1 | 128-bit integer source vector used for the operation

## Description

Performs a packed move with sign-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 sign-extend operation.

Parent topic: Intrinsics for Packed Move with Extend Operations