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