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

Extracts 128-bit scalar integer values. The corresponding Intel® AVX instruction is VEXTRACTF128.

Syntax

extern __m128i _mm256_extractf128_si256(__m256i m1, const int offset);

Arguments

m1

integer source vector

offset

a constant integer value that represents the offset from where extraction must start

Description

Extracts 128-bit scalar integer values from the source vector m1, starting from the location specified by the value in the offset parameter.

Returns

Result of the extraction operation.