_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.

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