]> www.infradead.org Git - users/dwmw2/qemu.git/commit
target/i386: use higher-precision arithmetic to compute CF
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 31 May 2024 09:00:33 +0000 (11:00 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 31 Oct 2024 17:28:33 +0000 (18:28 +0100)
commit134ffcb276be569fcb7531b2266b0df0d2a1db81
treed33c278e3deb08f457eb297806de5e91e220516b
parent24899cdcd238f885e9b7c0c708f624aa29090c21
target/i386: use higher-precision arithmetic to compute CF

If the operands of the arithmetic instruction fit within a half-register,
it's easiest to use a comparison instruction to compute the carry.

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