_mm_test_all_zeros
Classification
SSE_ALL, Logical, CPUID Test: SSE4.1
Header File
Instruction
PTEST xmm, xmm
Synopsis
_mm_test_all_zeros(__m128i mask, __m128i a);
Description
Compute the bitwise AND of 128 bits (representing integer data) in "a" and "mask", and return 1 if the result is zero, otherwise return 0.
Operation
IF ((a[127:0] AND mask[127:0]) == 0)
ZF := 1
ELSE
ZF := 0
FI
dst := ZF