Quantcast
Channel: Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1616

_mm256_broadcast_ss, _mm_broadcast_ss

$
0
0

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.

Inglés

Viewing all articles
Browse latest Browse all 1616

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>