[][src]Function safe_arch::cmp_eq_mask_i32_m256i

#[must_use]pub fn cmp_eq_mask_i32_m256i(a: m256i, b: m256i) -> m256i
This is supported with target feature avx2 only.

Compare i32 lanes for equality, mask output.

assert_eq!(
  <[i32; 8]>::from(cmp_eq_mask_i32_m256i(
    m256i::from([1_i32; 8]),
    m256i::from([1_i32; 8])
  )),
  [-1_i32; 8]
);
assert_eq!(
  <[i32; 8]>::from(cmp_eq_mask_i32_m256i(
    m256i::from([5_i32; 8]),
    m256i::from([6_i32; 8])
  )),
  [0_i32; 8]
);