Developer Guide and Reference

Contents

_mm256_insertf128_si256

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.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804