Intel® C++ Compiler 16.0 User and Reference Guide
Takes 128-bit data from the source operand and broadcasts it to all 128-bit elements of the result 256-bit vector. The corresponding Intel® AVX2 instructions are VBROADCASTI128 and VPERM2I128.
extern __m256i _mm256_broadcastsi128_si256(__m128i val); |
val |
the value to be broadcasted |
Takes 128-bit data from the source operand and broadcasts it to all 128-bit elements of the result 256-bit vector.
Returns result of the broadcast operation.