Function safe_arch::blend_varying_i8_m128i
source ยท pub fn blend_varying_i8_m128i(a: m128i, b: m128i, mask: m128i) -> m128i
Available with target feature
sse4.1
only.Expand description
Blend the i8
lanes according to a runtime varying mask.
The sign bit of each i8
lane in the mask
value determines if the output
lane uses a
(mask non-negative) or b
(mask negative).
- Intrinsic:
_mm_blendv_epi8
- Assembly:
pblendvb xmm, xmm