Function safe_arch::bitandnot_m128i

source ·
pub fn bitandnot_m128i(a: m128i, b: m128i) -> m128i
Available with target feature sse2 only.
Expand description

Bitwise (!a) & b.

let a = m128i::from([1, 0, 1, 0]);
let b = m128i::from([1, 1, 0, 0]);
let c: [i32; 4] = bitandnot_m128i(a, b).into();
assert_eq!(c, [0, 1, 0, 0]);