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 Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804