Inserts 128 bits of packed scalar integer values . The corresponding Intel® AVX instruction is VINSERTF128.

Syntax

extern __m256i _mm256_insertf128_si256(__m256i a, __m128i b, int offset);

Arguments

a

256-bit integer source vector

b

128-bit integer source vector

offset

an integer value that represents the 128-bit offset where the insertion must start

Description

Performs an insertion of 128 bits of packed scalar integer values from the second source vector b, into a destination at a 128-bit offset specified by the offset parameter. The remaining portions of the destination are written by the corresponding elements of the first source vector a.

Returns

Result of the insertion operation.

Para obter informações mais completas sobre otimizações do compilador, consulte nosso aviso de otimização.