_mm_blend_epi16 in core::arch::x86 - Rust
Description: Blend packed 16-bit integers from `a` and `b` using the mask `IMM8`.
Keywords: rust, rustlang, rust-lang, _mm_blend_epi16

# Function core::arch::x86::_mm_blend_epi16
1.27.0[−][src]

    pub unsafe fn _mm_blend_epi16<const IMM8: i32>(
        a: __m128i,
        b: __m128i
    ) -> __m128i

This is supported on x86 and target feature `sse4.1` only.
Expand description

Blend packed 16-bit integers from `a` and `b` using the mask `IMM8`.

The mask bits determine the selection. A clear bit selects the corresponding element of `a`, and a set bit the corresponding element of `b`.

Intel’s documentation