Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 7/13/2023
Public
Document Table of Contents

_mm256_castps256_ps128

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

Syntax

extern __m128 _mm256_castps256_ps128(__m256 a);

Arguments

a

256-bit float32 source vector

Description

Performs a typecast operation from 256-bit single-precision floating point values to 128-bit single-precision floating point values.

The lower 128-bits of the source vector are passed unchanged to the result. This intrinsic does not introduce extra moves to the generated code.

Returns

A vector with 128-bit single-precision floating point values.