Function safe_arch::cmp_eq_mask_m128
source · pub fn cmp_eq_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_eq_mask_m128(a, b).to_bits();
assert_eq!(c, [u32::MAX, 0, 0, u32::MAX]);