Function core::arch::x86::_mm_test_all_ones
1.27.0 · source · pub unsafe fn _mm_test_all_ones(a: __m128i) -> i32Available on (x86 or x86-64) and target feature
sse4.1 and x86 only.Expand description
测试 a 128 位整数 vector 中的指定位是否全部为 1。
Argument:
a- 包含要测试的位的 128 位整数 vector。
Returns:
1- 如果操作数中指定的位都设置为 1,0- otherwise.