pub const unsafe fn simd_select_bitmask<M, T>(m: M, yes: T, no: T) -> T
core_intrinsics)
Selects elements from a bitmask.
M must be an unsigned integer or array of u8, matching simd_bitmask.
T must be a vector.
For each element, if the bit in mask is 1, select the element from if_true. If the corresponding bit in mask is 0, select the element from if_false. The remaining bits of the mask are ignored.
The bitmask bit order matches simd_bitmask.
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/intrinsics/simd/fn.simd_select_bitmask.html