Function core::arch::x86_64::_mm256_testnzc_si256

1.27.0 · source ·
pub unsafe 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

计算 ab 中 256 位 (表示整数数据) 的按位与,如果结果为零则将 ZF 设置为 1,否则将 ZF 设置为 0.

计算 a 的按位非运算,然后与 b 进行与运算,如果结果为零,则将 CF 设置为 1,否则将 CF 设置为 0. 如果 ZFCF 的值都为零则返回 1,否则返回 0.

Intel’s documentation