3 ms·
> 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,
by anonymoushn 4y ago
> 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.