Function core::arch::x86_64::_mm_blend_epi16

1.27.0 · source ·
pub unsafe 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-64 only.
Expand description

使用掩码 IMM8 混合来自 ab 的 16 位整数包装。

掩码位确定选择。 清除位选择 a 的相应元素,置 1 位选择 b 的相应元素。

Intel’s documentation