]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/i386: make flag variables unsigned
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 31 May 2024 09:41:50 +0000 (11:41 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 31 Oct 2024 17:28:33 +0000 (18:28 +0100)
commit46c04e4bcfc0e3afc24c40f89a16475e564f0b10
tree23d286f172e924acd4f0d65e71d5024aa334ad03
parent44d58e938b649a3d73af9b12aba491ebc39e5f7c
target/i386: make flag variables unsigned

This makes it easier for the compiler to understand which bits are set,
and it also removes "cltq" instructions to canonicalize the output value
as 32-bit signed.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/tcg/cc_helper_template.h.inc