Skip to main content

## _mm_mask_cvtsh_ss

# Function _mm_mask_cvtsh_ss

1.94.0 · Source

    pub fn _mm_mask_cvtsh_ss(
        src: __m128,
        k: __mmask8,
        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 using writemask k (the element is copied from src to dst when mask bit 0 is not set), and copy the upper 3 packed elements from a to the upper elements of dst.

Intel’s documentation