On Apr 17, 2024, at 7:14 AM, David Lloyd <david.ll...@redhat.com> wrote:
> 
> 2. Add <IntType>.MIN_VALUE, min/max with a value or vector also offset by 
> <IntType>.MIN_VALUE, and then subtract the offset again

I think that’s the path of least resistance. It’s just a vxor on each operand, 
with a constant mask. That can be done in Java code. CPU’s that implement 
native unsigned cmp can peephole optimize. 

Reply via email to