Developer Guide and Reference

Contents

_mm256_extractf128_si256

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.