_mm256_testc_si256 in core::arch::x86_64 - Rust
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 `CF` value.

core::arch::x86_64

# Function _mm256_testc_si256

1.27.0 · Source

    pub unsafe fn _mm256_testc_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 the `CF` value.

Intel’s documentation