qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/16] target/i386/tcg: translation cleanups
@ 2024-05-24  8:10 Paolo Bonzini
  2024-05-24  8:10 ` [PATCH 01/16] target/i386: remove unnecessary gen_update_cc_op before gen_eob* Paolo Bonzini
                   ` (15 more replies)
  0 siblings, 16 replies; 38+ messages in thread
From: Paolo Bonzini @ 2024-05-24  8:10 UTC (permalink / raw)
  To: qemu-devel

Some cleanups in translate.c, which I could make now that the
it's smaller and it's easier to understand how the various
utility functions are used.

1-7: cleanups for gen_eob

8-14: inlining and removing macros

15-16: cleanups for cc_op vs. helpers

Paolo

Paolo Bonzini (16):
  target/i386: remove unnecessary gen_update_cc_op before gen_eob*
  target/i386: cleanup eob handling of RSM
  target/i386: document and group DISAS_* constants
  target/i386: avoid calling gen_eob_syscall before tb_stop
  target/i386: avoid calling gen_eob_inhibit_irq before tb_stop
  target/i386: assert that gen_update_eip_cur and gen_update_eip_next
    are the same in tb_stop
  target/i386: raze the gen_eob* jungle
  target/i386: reg in gen_ldst_modrm is always OR_TMP0
  target/i386: split gen_ldst_modrm for load and store
  target/i386: inline gen_add_A0_ds_seg
  target/i386: use mo_stacksize more
  target/i386: introduce gen_lea_ss_ofs
  target/i386: clean up repeated string operations
  target/i386: remove aflag argument of gen_lea_v_seg
  target/i386: cpu_load_eflags already sets cc_op
  target/i386: set CC_OP in helpers if they want CC_OP_EFLAGS

 target/i386/ops_sse.h        |   8 +
 target/i386/tcg/fpu_helper.c |   2 +
 target/i386/tcg/int_helper.c |  13 +-
 target/i386/tcg/seg_helper.c |  16 +-
 target/i386/tcg/translate.c  | 322 +++++++++++++++--------------------
 target/i386/tcg/emit.c.inc   |  58 +++----
 6 files changed, 194 insertions(+), 225 deletions(-)

-- 
2.45.1



^ permalink raw reply	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2024-05-24 15:18 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-24  8:10 [PATCH 00/16] target/i386/tcg: translation cleanups Paolo Bonzini
2024-05-24  8:10 ` [PATCH 01/16] target/i386: remove unnecessary gen_update_cc_op before gen_eob* Paolo Bonzini
2024-05-24 14:11   ` Richard Henderson
2024-05-24  8:10 ` [PATCH 02/16] target/i386: cleanup eob handling of RSM Paolo Bonzini
2024-05-24 14:14   ` Richard Henderson
2024-05-24  8:10 ` [PATCH 03/16] target/i386: document and group DISAS_* constants Paolo Bonzini
2024-05-24 14:20   ` Richard Henderson
2024-05-24 14:23   ` Richard Henderson
2024-05-24 15:02     ` Paolo Bonzini
2024-05-24 15:04       ` Paolo Bonzini
2024-05-24 15:13         ` Richard Henderson
2024-05-24 15:18           ` Paolo Bonzini
2024-05-24  8:10 ` [PATCH 04/16] target/i386: avoid calling gen_eob_syscall before tb_stop Paolo Bonzini
2024-05-24 14:27   ` Richard Henderson
2024-05-24  8:10 ` [PATCH 05/16] target/i386: avoid calling gen_eob_inhibit_irq " Paolo Bonzini
2024-05-24 14:29   ` Richard Henderson
2024-05-24  8:10 ` [PATCH 06/16] target/i386: assert that gen_update_eip_cur and gen_update_eip_next are the same in tb_stop Paolo Bonzini
2024-05-24 14:30   ` Richard Henderson
2024-05-24  8:10 ` [PATCH 07/16] target/i386: raze the gen_eob* jungle Paolo Bonzini
2024-05-24 14:32   ` Richard Henderson
2024-05-24  8:10 ` [PATCH 08/16] target/i386: reg in gen_ldst_modrm is always OR_TMP0 Paolo Bonzini
2024-05-24 14:33   ` Richard Henderson
2024-05-24  8:10 ` [PATCH 09/16] target/i386: split gen_ldst_modrm for load and store Paolo Bonzini
2024-05-24 14:34   ` Richard Henderson
2024-05-24  8:10 ` [PATCH 10/16] target/i386: inline gen_add_A0_ds_seg Paolo Bonzini
2024-05-24 14:35   ` Richard Henderson
2024-05-24  8:10 ` [PATCH 11/16] target/i386: use mo_stacksize more Paolo Bonzini
2024-05-24 14:36   ` Richard Henderson
2024-05-24  8:10 ` [PATCH 12/16] target/i386: introduce gen_lea_ss_ofs Paolo Bonzini
2024-05-24 14:53   ` Richard Henderson
2024-05-24  8:10 ` [PATCH 13/16] target/i386: clean up repeated string operations Paolo Bonzini
2024-05-24 14:58   ` Richard Henderson
2024-05-24  8:10 ` [PATCH 14/16] target/i386: remove aflag argument of gen_lea_v_seg Paolo Bonzini
2024-05-24 14:59   ` Richard Henderson
2024-05-24  8:10 ` [PATCH 15/16] target/i386: cpu_load_eflags already sets cc_op Paolo Bonzini
2024-05-24 15:02   ` Richard Henderson
2024-05-24  8:10 ` [PATCH 16/16] target/i386: set CC_OP in helpers if they want CC_OP_EFLAGS Paolo Bonzini
2024-05-24 15:07   ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).