[PATCH for 10.1 0/3] target/i386: share some EFLAGS code between TCG and x86_emu

Paolo Bonzini posted 3 patches 7 months, 2 weeks ago
Failed in applying to current master (apply log)
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(-)
[PATCH for 10.1 0/3] target/i386: share some EFLAGS code between TCG and x86_emu
Posted by Paolo Bonzini 7 months, 2 weeks ago
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