Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 12/16/2022
Public

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

Document Table of Contents

<span class='option'> _mm256_castsi256_si128</span>

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

Syntax

extern __m128i _mm256_castsi256_si128(__m256i a);

Arguments

a

256-bit integer source vector

Description

Performs a typecast operation from 256-bit integer values to 128-bit integer 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 integer values.