[−][src]Function safe_arch::max_u32_m128i
#[must_use]pub fn max_u32_m128i(a: m128i, b: m128i) -> m128i
This is supported with target feature
sse4.1
only.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]);