# _mm256_broadcast_ss, _mm_broadcast_ss

Loads and broadcasts 256/128-bit scalar single-precision floating point values to a 256/128-bit destination operand. The corresponding Intel® AVX instruction is VBROADCASTSS.

## Syntax

extern __m256 _mm256_broadcast_ss(float const *a);

extern __m128 _mm_broadcast_ss(float const *a);

## Arguments

*a | pointer to a memory location that can hold constant 256-bit or 128-bit float32 values

## Description

Loads scalar single-precision floating-point values from the specified address pointed to by a, and broadcasts it to elements in the destination vector.

The _m256_broadcast_ss intrinsic broadcasts the loaded values to all eight elements in the 256-bit destination vector.

The _mm_broadcast_ss intrinsic broadcasts the loaded values to all four elements in the 128-bit destination vector.

## Returns

Result of the load and broadcast operation.

Parent topic: Intrinsics for Load and Store Operations