This reduces by ~20% the size of helper_cc_compute_all, and also
shares some code between TCG and x86_emu. Also, the line of code
delta is negative despite adding a bunch of comments. :)
Paolo
Paolo Bonzini (3):
target/i386: tcg: simplify computation of AF after INC/DEC
target/i386: emulate: microoptimize and explain
ADD_COUT_VEC/SUB_COUT_VEC
target/i386: tcg: use cout to commonize add/adc/sub/sbb cases
target/i386/cpu.h | 25 +++++++
target/i386/tcg/cc_helper_template.h.inc | 90 ++++++++----------------
target/i386/hvf/x86_flags.c | 9 ---
3 files changed, 56 insertions(+), 68 deletions(-)
--
2.49.0