Function core::arch::x86::_mm_testc_si1281.27.0[][src]

pub unsafe fn _mm_testc_si128(a: __m128i, mask: __m128i) -> i32
This is supported on x86 and target feature sse4.1 only.
Expand description

测试 128 位整数 vector 中的指定位是否全部为 1。

Arguments:

  • a - 包含要测试的位的 128 位整数 vector。
  • mask - 一个 128 位整数 vector,用于选择要在操作数 a 中测试的位。

Returns:

  • 1 - 如果指定的位全为 1,
  • 0 - otherwise.

Intel’s documentation