Function heron::rapier_plugin::rapier::utils::simd_swap [−]
pub fn simd_swap(do_swap: WideBoolF32x4, a: &mut WideF32x4, b: &mut WideF32x4)
Conditionally swaps each lanes of a
with those of b
.
For each i in [0..SIMD_WIDTH[
, if do_swap.extract(i)
is true
then
a.extract(i)
is swapped with b.extract(i)
.