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.


extern __m128i _mm256_extracti128_si256(__m256i a, int offset);



integer source vector


integer constant specifying offset


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.


Para obtener información más completa sobre las optimizaciones del compilador, consulte nuestro Aviso de optimización.