# Function core::arch::x86_64::_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-64 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