## _mm_blend_epi16

# Function _mm_blend_epi16

1.27.0 · Source

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

Available on (x86 or x86-64) and target feature `sse4.1` and x86 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