News for hackers. Stuff that matters.
Re:Unsigned comparisons in AVX2/SSE: a quick note by anonymoushn on Friday August 26, 2022 @09:18AM (#32607089)
> Yeah, but if you need to compare for a < b as opposed to a <= b, you gonna need couple more instructions.

In general yes. Depending on your use for the mask, it might be fine to compute !(a < b) == (b <= a) and use the mask with andnot.

There are no comments on this comment yet.