On 1/9/24 09:55, Paolo Bonzini wrote:
Il lun 8 gen 2024, 22:45 Richard Henderson <[email protected] <mailto:[email protected]>> ha scritto:> I was thinking: a lot of RISC targets simply do AND/ANDI > followed by the sequence used for TCG_COND_NE. Would it make sense to > have a TCG_TARGET_SUPPORTS_TST bit and, if absent, lower TSTEQ/TSTNE > to AND+EQ/NE directly in the optimizer? Probably best, yes. Ok, I will give it a shot.
I'm in the process now... r~
