_mm_test_epi32_mask
Classification
AVX-512, Compare, CPUID Test: AVX512F
Header File
immintrin.h
Instruction
VPTESTMD k, xmm, xmm
Synopsis
 _mm_test_epi32_mask(__m128i a, __m128i b);
Description
Compute the bitwise AND of packed 32-bit integers in "a" and "b", producing intermediate 32-bit values, and set the corresponding bit in result mask "k" if the intermediate value is non-zero.
Operation
FOR j := 0 to 3
	i := j*32
	k[j] := ((a[i+31:i] AND b[i+31:i]) != 0) ? 1 : 0
ENDFOR
k[MAX:4] := 0