Re: [PULL 7/9] tcg/optimize: optimize TSTNE using smask and zmask

2025-02-10 Thread Philippe Mathieu-Daudé
On 10/2/25 11:22, Paolo Bonzini wrote: Generalize the existing optimization of "TSTNE x,sign" and "TSTNE x,-1". This can be useful for example in the i386 frontend, which will generate tests of zero-extended registers against 0x. Ironically, on x86 hosts this is a very slight pessimizati

[PULL 7/9] tcg/optimize: optimize TSTNE using smask and zmask

2025-02-10 Thread Paolo Bonzini
Generalize the existing optimization of "TSTNE x,sign" and "TSTNE x,-1". This can be useful for example in the i386 frontend, which will generate tests of zero-extended registers against 0x. Ironically, on x86 hosts this is a very slight pessimization in the very case it's meant to optimiz