Developer Guide and Reference

Contents

_mm256_castps128_ps256

Typecasts 128-bit single-precision floating point values to 256-bit single-precision floating point values. No corresponding Intel® AVX instruction.

Syntax

extern __m256 _mm256_castps128_ps256(__m128 a);
Arguments
a
128-bit float32 source vector
Description
Performs a typecast operation from 128-bit single-precision floating point values to 256-bit single-precision floating point 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 single-precision floating point values. The upper bits of the resulting vector are undefined.

Product and Performance Inf