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_extracti128_si256 </span>

Extracts 128-bits of packed integer data of the second source vector into the destination vector at a 128-bit offset from imm8[0]. The corresponding Intel® AVX2 instruction is VEXTRACTI128.

Syntax

extern __m128i _mm256_extracti128_si256(__m256i a, int offset);

Arguments

a

integer source vector

offset

integer constant specifying offset

Description

Extract 128 bits (composed of integer data) from a, selected with imm, and store the result in dst.

Extracts 128-bits of packed integer data from source vector a with offset. The remaining portions of the destination are written by the corresponding fields of the source vector. The destination may be either an XMM register or a 128-bit memory location. The high 7 bits of the immediate are ignored.

Returns