Intrinsics for Compare Operations
- _mm256_cmpeq_epi8/16/32/64
Compares packed bytes/words/doublewords/quadwords of two source vectors. The corresponding Intel® AVX2 instruction is VPCMPEQB, VPCMPEQW, VPCMPEQD, or VPCMPEQQ.
- _mm256_cmpgt_epi8/16/32/64
Compares packed bytes/words/doublewords/quadwords of two source vectors. The corresponding Intel® AVX2 instruction is VPCMPGTB, VPCMPGTW, VPCMPGTD, or VPCMPGTQ.
- _mm256_max_epi8/16/32
Determines the maximum value between two vectors with packed signed byte/word/doubleword integers. The corresponding Intel® AVX2 instruction is VPMAXSB, VPMAXSW, or VPMAXSD.
- _mm256_max_epu8/16/32
Determines the maximum value between two vectors with packed unsigned byte/word/doubleword integers. The corresponding Intel® AVX2 instruction is VPMAXUB, VPMAXUW, or VPMAXUD.
- _mm256_min_epi8/16/32
Determines the minimum value between two vectors with packed signed byte/word/doubleword integers. The corresponding Intel® AVX2 instruction is VPMINSB, VPMINSW, or VPMINSD.
- _mm256_min_epu8/16/32
Determines the minimum value between two vectors with packed unsigned byte/word/doubleword integers. The corresponding Intel® AVX2 instruction is VPMINUB, VPMINUW, or VPMINUD.