Function safe_arch::bitandnot_m256i

source ยท
pub fn bitandnot_m256i(a: m256i, b: m256i) -> m256i
Available with target feature avx2 only.
Expand description

Bitwise (!a) & b.

let a = m256i::from([0_i64, 0, 1, 1]);
let b = m256i::from([0_i64, 1, 0, 1]);
let c: [i64; 4] = bitandnot_m256i(a, b).into();
assert_eq!(c, [0_i64, 1, 0, 0]);