Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 3/31/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of 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.