Function core::arch::wasm64::i32x4_relaxed_laneselect
source · pub fn i32x4_relaxed_laneselect(a: v128, b: v128, m: v128) -> v128🔬This is a nightly-only experimental API. (
stdsimd #48556)Available on
target_family="wasm" and target feature relaxed-simd only.Expand description
A relaxed version of v128_bitselect where this either behaves the same as
v128_bitselect or the high bit of each lane m is inspected and the
corresponding lane of a is chosen if the bit is 1 or the lane of b is
chosen if it’s zero.
If the m mask’s lanes are either all-one or all-zero then this instruction
is the same as v128_bitselect.