[−][src]Function safe_arch::min_u32_m256i
#[must_use]pub fn min_u32_m256i(a: m256i, b: m256i) -> m256i
This is supported with target feature
avx2
only.Lanewise min(a, b)
with lanes as u32
.
let a = m256i::from([0_u32, 1, 2, 3, 4, 5, 6, 7]); let b = m256i::from([0_u32, 11, 2, 13, 4, 15, 6, 17]); let c: [u32; 8] = min_u32_m256i(a, b).into(); assert_eq!(c, [0, 1, 2, 3, 4, 5, 6, 7]);
- Intrinsic:
_mm256_min_epu32
- Assembly:
vpminud ymm, ymm, ymm