Function safe_arch::cmp_lt_mask_m128
source ยท pub fn cmp_lt_mask_m128(a: m128, b: m128) -> m128
Available with target feature
sse
only.Expand description
Lanewise a < b
.
Mask output.
let a = m128::from_array([1.0, 2.0, 3.0, 4.0]);
let b = m128::from_array([2.0, 2.0, 2.0, 2.0]);
let c = cmp_lt_mask_m128(a, b).to_bits();
assert_eq!(c, [u32::MAX, 0, 0, 0]);