# Function _mm256_testnzc_si256

1.27.0 · Source

    pub fn _mm256_testnzc_si256(a: __m256i, b: __m256i) -> i32

Available on (x86 or x86-64) and target feature `avx` and x86-64 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 1 if both the `ZF` and `CF` values are zero, otherwise return 0.

Intel’s documentation