_mm_mask_load_sh in core::arch::x86 - Rust
Description: Load a half-precision (16-bit) floating-point element from memory into the lower element of a new vector using writemask k (the element is copied from src when mask bit 0 is not set), and zero the upper elements.

Skip to main content

## _mm_mask_load_sh

# Function _mm_mask_load_sh

Source

    pub unsafe fn _mm_mask_load_sh(
        src: __m128h,
        k: __mmask8,
        mem_addr: *const f16,
    ) -> __m128h

🔬This is a nightly-only experimental API. (`stdarch_x86_avx512_f16` #127213)
Available on x86 and target feature `avx512fp16` only.
Expand description

Load a half-precision (16-bit) floating-point element from memory into the lower element of a new vector using writemask k (the element is copied from src when mask bit 0 is not set), and zero the upper elements.

Intel’s documentation