no_std_compat::arch::x86

Function _mm_blend_epi16

1.27.0 · Source
pub unsafe fn _mm_blend_epi16<const IMM8: i32>(
    a: __m128i,
    b: __m128i,
) -> __m128i
Available on 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