core::arch::x86

Function _mm256_testz_si256

1.27.0 · source
pub unsafe fn _mm256_testz_si256(a: __m256i, b: __m256i) -> i32
Available on (x86 or x86-64) and target feature avx and x86 only.
Expand description

Computes the bitwise AND of 256 bits (representing integer data) in a and b, and set ZF to 1 if the result is zero, otherwise set ZF to 0. Computes the bitwise NOT of a and then AND with b, and set CF to 1 if the result is zero, otherwise set CF to 0. Return the ZF value.

Intel’s documentation