Skip to main content

## _mm_blendv_epi8

# Function _mm_blendv_epi8

1.27.0 (const: unstable) · Source

    pub fn _mm_blendv_epi8(a: __m128i, b: __m128i, mask: __m128i) -> __m128i

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