_mm256_cmpgt_epu8_mask
Classification
AVX-512, Compare, CPUID Test: AVX512BW
Header File
immintrin.h
Instruction
VPCMPUB k, ymm, ymm
Synopsis
 _mm256_cmpgt_epu8_mask(__m256i a, __m256i b);
Description
Compare packed unsigned 8-bit integers in "a" and "b" for greater-than, and store the results in mask vector "k".
Operation
FOR j := 0 to 31
	i := j*8
	k[j] := ( a[i+7:i] > b[i+7:i] ) ? 1 : 0
ENDFOR
k[MAX:32] := 0