Hi Richard, On 30/8/25 05:39, Richard Henderson wrote:
The optimizer prefers to have constants as the second operand,
Should we document this somewhere?
so expand LT x,0 instead of GT 0,x. This will not affect the generated code at all. Signed-off-by: Richard Henderson <[email protected]> --- tcg/i386/tcg-target.c.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
