Function bitandnot_m256i
pub fn bitandnot_m256i(a: m256i, b: m256i) -> m256i
Available on crate feature
dep_safe_arch
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]);
- Intrinsic:
_mm256_andnot_si256
- Assembly:
vpandn ymm, ymm, ymm