Developer Guide and Reference

Contents

_mm256_castsi128_si256

Typecasts 128-bit integer values to 256-bit integer values. No corresponding Intel® AVX instruction.

Syntax

extern __m256i _mm256_castsi128_si256(__m128i a);
Arguments
a
128-bit integer source vector
Description
Performs a typecast operation from 128-bit integer values to 256-bit integer values.
The lower 128-bits of the 256-bit resulting vector contains the source vector values; the upper 128-bits of the resulting vector are undefined. This intrinsic does not introduce extra moves to the generated code.
Returns
A vector with 256-bit integer values. The upper bits of the resulting vector are undefined.

Product and Performance Information