As said in Intel AVX documentation
_mm256_cmp_ps, _mm256_cmp_pd
etc.
Please note that instead of having several comparison instructions, you need to pass an enumeration indicating the comparison. For instance:
res = _mm256_cmp_ps(a,b, _CMP_LT_OQ);
source share