Function no_std_compat::arch::x86_64::_mm_blend_epi16

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