]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/i386: clean up cpu_cc_compute_all
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 25 Oct 2023 22:24:46 +0000 (00:24 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 29 Dec 2023 21:03:02 +0000 (22:03 +0100)
commit2455e9cf5ac74fb42224309aa93ee8c3fd4b23e0
tree4819ab16c736d7e517b9c456250a376e01962a94
parent8cc746525cf7961dc4dbd144b678a1c036aa3647
target/i386: clean up cpu_cc_compute_all

cpu_cc_compute_all() has an argument that is always equal to CC_OP for historical
reasons (dating back to commit a7812ae4123, "TCG variable type checking.", 2008-11-17,
which added the argument to helper_cc_compute_all).  It does not make sense for the
argument to have any other value, so remove it and clean up some lines that are not
too long anymore.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/cpu.h
target/i386/tcg/cc_helper.c
target/i386/tcg/fpu_helper.c
target/i386/tcg/int_helper.c
target/i386/tcg/misc_helper.c
target/i386/tcg/seg_helper.c