Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 3/31/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

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