Function safe_arch::max_u32_m128i
source ยท pub fn max_u32_m128i(a: m128i, b: m128i) -> m128i
Available with target feature
sse4.1
only.Expand description
Lanewise max(a, b)
with lanes as u32
.
let a = m128i::from([1, 200, 3, 4]);
let b = m128i::from([5, 6, 7, 8]);
let c: [u32; 4] = max_u32_m128i(a, b).into();
assert_eq!(c, [5, 200, 7, 8]);