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); |
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.
Parent topic: Intrinsics for Load and Store Operations
Inglés