Function cmp_eq_mask_m128_s
pub fn cmp_eq_mask_m128_s(a: m128, b: m128) -> m128
Available on crate feature
dep_safe_arch
only.Expand description
Low lane a == b
, other lanes unchanged.
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_s(a, b).to_bits();
assert_eq!(c, [u32::MAX, 0, 1_f32.to_bits(), 0]);