_mm256_cvtepi16_epi32/64

Packed moves with sign-extend 16-bit signed integers to 32/64-bit integers. The corresponding Intel® AVX2 instruction is VPMOVSXWD or VPMOVSXWQ.

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.


Submit feedback on this help topic

Copyright © 1996-2011, Intel Corporation. All rights reserved.