Function core::arch::x86::_mm_blendv_epi8

1.27.0 · source ·
pub unsafe fn _mm_blendv_epi8(a: __m128i, b: __m128i, mask: __m128i) -> __m128i
Available on (x86 or x86-64) and target feature sse4.1 and x86 only.
Expand description

Blend packed 8-bit integers from a and b using mask

The high bit of each corresponding mask byte determines the selection. If the high bit is set, the element of b is selected. Otherwise, the element of a is selected.

Intel’s documentation