xsimd icon indicating copy to clipboard operation
xsimd copied to clipboard

Use mm_cmpgt_epuXX for unsigned integer comparison on AVX512

Open wolfv opened this issue 6 years ago • 0 comments

AVX 512 added some SSE and AVX2 sized instructions for comparing unsigned integers.

The catch is that they return a __maskX and not a SIMD register size batch of bool ... so far we don't handle that.

But we could remove the xor flipping code that we currently need in order to use the signed comparisons for unsigned integers.

wolfv avatar Dec 18 '19 18:12 wolfv