Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 12/16/2022
Public

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

Document Table of Contents

<span class='option'>_mm_broadcastss_ps, _mm256_broadcastss_ps</span>

Take the low packed single-precision floating-point data element from the source operand and broadcast to all elements of the result vector. The corresponding Intel® AVX2 instruction is VBROADCASTSS.

Syntax

extern __m128 _mm_broadcastss_ps(__m128 val);

extern __m256 _mm256_broadcastss_ps(__m128 val);

Arguments

val

__m128 vector containing the 32-bit element to be broadcasted

Description

Takes the low packed single-precision floating-point (float32) data element from the source operand and broadcasts it to all elements of the result vector. The source operand is __m128; only the low 32 bits of this operand are broadcasted.

Returns

Return result of the broadcast operation.