Skip to content

target/i386: share some EFLAGS code between TCG and x86_emu

Paolo Bonzini qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3target/i386: tcg: simplify computation of AF after INC/DECtarget/i386/tcg/cc_helper_template.h.inc+2 -80 replies
2/3target/i386: emulate: microoptimize and explain ADD_COUT_VEC/SUB_COUT_VECtarget/i386/hvf/x86_flags.c+21 -50 replies
3/3target/i386: tcg: use cout to commonize add/adc/sub/sbb casestarget/i386/cpu.h target/i386/hvf/x86_flags.c target/i386/tcg/cc_helper_template.h.inc+54 -760 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.49.0