_mm_test_all_ones
Classification
SSE_ALL, Logical, CPUID Test: SSE4.1
Header File
Instruction
PCMPEQD xmm, xmm
Synopsis
_mm_test_all_ones(__m128i a);
Description
Compute the bitwise NOT of "a" and then AND with a 128-bit vector containing all 1's, and return 1 if the result is zero, otherwise return 0.
Operation
FOR j := 0 to 127
tmp[j] := 1
ENDFOR
IF (((NOT a[127:0]) AND tmp[127:0]) == 0)
CF := 1
ELSE
CF := 0
FI
dst := CF