Intel® C++ Compiler XE 13.1 User and Reference Guides
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 AVX2 instruction is VEXTRACTI128.
extern __m256i _mm256_extracti128_si256(__m256i a, __m128i b, const int mask); |
a |
integer source vector |
b |
integer source vector |
mask |
integer constant specifying offset |
Extracts 128-bits of packed integer data from the second source vector (third vector) into the destination vector (first vector) at a 128-bit offset from imm8[0]. The remaining portions of the destination are written by the corresponding fields of the first source vector (second vector). The high 7 bits of the immediate are ignored.