Skip to main content

## _mm_cvtsh_ss

# Function _mm_cvtsh_ss

1.94.0 · Source

    pub fn _mm_cvtsh_ss(a: __m128, b: __m128h) -> __m128

Available on x86-64 and target feature `avx512fp16` only.
Expand description

Convert the lower half-precision (16-bit) floating-point element in b to a single-precision (32-bit) floating-point element, store the result in the lower element of dst, and copy the upper 3 packed elements from a to the upper elements of dst.

Intel’s documentation