Function safe_arch::cmp_neq_mask_m128
source · pub fn cmp_neq_mask_m128(a: m128, b: m128) -> m128
Expand description
Lanewise a != b
.
Mask output.
let a = m128::from_array([1.0, 0.0, 1.0, 0.0]);
let b = m128::from_array([1.0, 1.0, 0.0, 0.0]);
let c = cmp_neq_mask_m128(a, b).to_bits();
assert_eq!(c, [0, u32::MAX, u32::MAX, 0]);