qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/16] accel/tcg: Compile cpu-exec.c twice
@ 2025-04-30 16:48 Richard Henderson
  2025-04-30 16:48 ` [PATCH v2 01/16] accel/tcg: Generalize fake_user_interrupt test Richard Henderson
                   ` (15 more replies)
  0 siblings, 16 replies; 24+ messages in thread
From: Richard Henderson @ 2025-04-30 16:48 UTC (permalink / raw)
  To: qemu-devel; +Cc: pierrick.bouvier, philmd

For v2, changes to TCGTBCPUState and pass it around more
within the accel/tcg/ subroutines.

r~

Richard Henderson (16):
  accel/tcg: Generalize fake_user_interrupt test
  accel/tcg: Unconditionally use CPU_DUMP_CCOP in log_cpu_exec
  accel/tcg: Introduce TCGCPUOps.cpu_exec_reset
  target/i386: Split out x86_cpu_exec_reset
  accel/tcg: Hoist cpu_get_tb_cpu_state decl to accl/tcg/cpu-ops.h
  target/arm: Move cpu_get_tb_cpu_state to hflags.c
  target/arm: Unexport assert_hflags_rebuild_correctly
  target/riscv: Move cpu_get_tb_cpu_state to tcg-cpu.c
  accel/tcg: Return TCGTBCPUState from cpu_get_tb_cpu_state
  accel/tcg: Move cpu_get_tb_cpu_state to TCGCPUOps
  accel/tcg: Pass TCGTBCPUState to tb_lookup
  accel/tcg: Pass TCGTBCPUState to tb_htable_lookup
  accel/tcg: Use TCGTBCPUState in struct tb_desc
  accel/tcg: Pass TCGTBCPUState to tb_gen_code
  accel/tcg: Split out accel/tcg/helper-retaddr.h
  accel/tcg: Compile cpu-exec.c twice

 accel/tcg/internal-common.h        |   5 +-
 include/accel/tcg/cpu-ldst.h       |  34 ------
 include/accel/tcg/cpu-ops.h        |   9 ++
 include/accel/tcg/helper-retaddr.h |  43 ++++++++
 include/accel/tcg/tb-cpu-state.h   |  18 ++++
 target/alpha/cpu.h                 |  11 --
 target/arm/cpu.h                   |   3 -
 target/arm/internals.h             |   4 +-
 target/avr/cpu.h                   |  18 ----
 target/hexagon/cpu.h               |  15 ---
 target/hppa/cpu.h                  |   3 -
 target/i386/cpu.h                  |  14 ---
 target/loongarch/cpu.h             |  12 ---
 target/m68k/cpu.h                  |  16 ---
 target/microblaze/cpu.h            |   8 --
 target/mips/cpu.h                  |   9 --
 target/openrisc/cpu.h              |  10 --
 target/ppc/cpu.h                   |  13 ---
 target/ppc/internal.h              |   3 +
 target/riscv/cpu.h                 |   3 -
 target/rx/cpu.h                    |   9 --
 target/s390x/cpu.h                 |   9 --
 target/sh4/cpu.h                   |  15 ---
 target/sparc/cpu.h                 |   3 -
 target/tricore/cpu.h               |  12 ---
 target/xtensa/cpu.h                |  68 ------------
 accel/tcg/cpu-exec.c               | 163 ++++++++++++-----------------
 accel/tcg/translate-all.c          |  36 +++----
 accel/tcg/user-exec.c              |   1 +
 target/alpha/cpu.c                 |  17 ++-
 target/arm/cpu.c                   |   2 +
 target/arm/helper.c                | 109 -------------------
 target/arm/tcg-stubs.c             |   4 -
 target/arm/tcg/cpu-v7m.c           |   2 +
 target/arm/tcg/helper-a64.c        |   1 +
 target/arm/tcg/hflags.c            | 117 ++++++++++++++++++++-
 target/arm/tcg/sme_helper.c        |   1 +
 target/arm/tcg/sve_helper.c        |   1 +
 target/avr/cpu.c                   |  20 +++-
 target/hexagon/cpu.c               |  20 +++-
 target/hppa/cpu.c                  |  15 +--
 target/i386/tcg/tcg-cpu.c          |  33 +++++-
 target/loongarch/cpu.c             |  19 +++-
 target/m68k/cpu.c                  |  24 ++++-
 target/microblaze/cpu.c            |  16 ++-
 target/mips/cpu.c                  |  13 +++
 target/openrisc/cpu.c              |  17 ++-
 target/ppc/cpu_init.c              |   3 +-
 target/ppc/helper_regs.c           |  19 ++--
 target/ppc/mem_helper.c            |   1 +
 target/riscv/cpu_helper.c          |  97 -----------------
 target/riscv/tcg/tcg-cpu.c         | 100 ++++++++++++++++++
 target/rx/cpu.c                    |  16 ++-
 target/s390x/cpu.c                 |  17 +--
 target/s390x/tcg/mem_helper.c      |   1 +
 target/sh4/cpu.c                   |  28 ++++-
 target/sparc/cpu.c                 |  19 ++--
 target/tricore/cpu.c               |  15 ++-
 target/xtensa/cpu.c                |  79 +++++++++++++-
 accel/tcg/meson.build              |   2 +-
 60 files changed, 719 insertions(+), 676 deletions(-)
 create mode 100644 include/accel/tcg/helper-retaddr.h
 create mode 100644 include/accel/tcg/tb-cpu-state.h

-- 
2.43.0



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

end of thread, other threads:[~2025-04-30 17:05 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-30 16:48 [PATCH v2 00/16] accel/tcg: Compile cpu-exec.c twice Richard Henderson
2025-04-30 16:48 ` [PATCH v2 01/16] accel/tcg: Generalize fake_user_interrupt test Richard Henderson
2025-04-30 16:48 ` [PATCH v2 02/16] accel/tcg: Unconditionally use CPU_DUMP_CCOP in log_cpu_exec Richard Henderson
2025-04-30 16:48 ` [PATCH v2 03/16] accel/tcg: Introduce TCGCPUOps.cpu_exec_reset Richard Henderson
2025-04-30 16:48 ` [PATCH v2 04/16] target/i386: Split out x86_cpu_exec_reset Richard Henderson
2025-04-30 16:48 ` [PATCH v2 05/16] accel/tcg: Hoist cpu_get_tb_cpu_state decl to accl/tcg/cpu-ops.h Richard Henderson
2025-04-30 16:48 ` [PATCH v2 06/16] target/arm: Move cpu_get_tb_cpu_state to hflags.c Richard Henderson
2025-04-30 16:54   ` Pierrick Bouvier
2025-04-30 16:48 ` [PATCH v2 07/16] target/arm: Unexport assert_hflags_rebuild_correctly Richard Henderson
2025-04-30 16:54   ` Pierrick Bouvier
2025-04-30 16:48 ` [PATCH v2 08/16] target/riscv: Move cpu_get_tb_cpu_state to tcg-cpu.c Richard Henderson
2025-04-30 16:48 ` [PATCH v2 09/16] accel/tcg: Return TCGTBCPUState from cpu_get_tb_cpu_state Richard Henderson
2025-04-30 17:04   ` Pierrick Bouvier
2025-04-30 16:48 ` [PATCH v2 10/16] accel/tcg: Move cpu_get_tb_cpu_state to TCGCPUOps Richard Henderson
2025-04-30 16:48 ` [PATCH v2 11/16] accel/tcg: Pass TCGTBCPUState to tb_lookup Richard Henderson
2025-04-30 16:55   ` Pierrick Bouvier
2025-04-30 16:48 ` [PATCH v2 12/16] accel/tcg: Pass TCGTBCPUState to tb_htable_lookup Richard Henderson
2025-04-30 16:55   ` Pierrick Bouvier
2025-04-30 16:48 ` [PATCH v2 13/16] accel/tcg: Use TCGTBCPUState in struct tb_desc Richard Henderson
2025-04-30 16:56   ` Pierrick Bouvier
2025-04-30 16:48 ` [PATCH v2 14/16] accel/tcg: Pass TCGTBCPUState to tb_gen_code Richard Henderson
2025-04-30 16:56   ` Pierrick Bouvier
2025-04-30 16:48 ` [PATCH v2 15/16] accel/tcg: Split out accel/tcg/helper-retaddr.h Richard Henderson
2025-04-30 16:48 ` [PATCH v2 16/16] accel/tcg: Compile cpu-exec.c twice 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).