Intel® C++ Compiler Classic Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-9772763F-D7D8-462B-8DA0-F7169C9EC47F
Visible to Intel only — GUID: GUID-9772763F-D7D8-462B-8DA0-F7169C9EC47F
_mm256_broadcastsi128_si256
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.
Syntax
extern __m256i _mm256_broadcastsi128_si256(__m128i val); |
Arguments
val |
the value to be broadcasted |
Description
Takes 128-bit data from the source operand and broadcasts it to all 128-bit elements of the result 256-bit vector.
Returns
Returns result of the broadcast operation.