From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: qemu-devel@nongnu.org
Cc: "Pierrick Bouvier" <pierrick.bouvier@linaro.org>,
"Richard Henderson" <richard.henderson@linaro.org>,
"Philippe Mathieu-Daudé" <philmd@linaro.org>
Subject: [PATCH v2 00/18] accel/tcg: Compile more files once
Date: Sat, 8 Mar 2025 08:23:45 +0100 [thread overview]
Message-ID: <20250308072348.65723-1-philmd@linaro.org> (raw)
Since v1:
- Patches 1-13,16 unmodified
- Restrict GETPC_ADJ()
- Rename accel/tcg/getpc.h
- Guard GETPC() within CONFIG_TCG
Take care of some easy cases in accel/tcg/.
From here it starts getting harder. 🙂
Philippe Mathieu-Daudé (7):
exec: Declare tlb_reset_dirty*() in 'exec/cputlb.h'
exec: Declare tlb_set_page_full() in 'exec/cputlb.h'
exec: Declare tlb_set_page_with_attrs() in 'exec/cputlb.h'
exec: Declare tlb_set_page() in 'exec/cputlb.h'
exec: Declare tlb_hit*() in 'exec/cputlb.h'
exec: Declare tlb_flush*() in 'exec/cputlb.h'
accel/tcg: Restrict GETPC_ADJ() to 'tb-internal.h'
Richard Henderson (11):
include/exec: Move TARGET_PAGE_{SIZE,MASK,BITS} to target_page.h
include/exec: Split out exec/cpu-interrupt.h
accel/tcg: Compile watchpoint.c once
system: Build watchpoint.c once
accel/tcg: Build tcg-accel-ops.c once
accel/tcg: Build tcg-accel-ops-icount.c once
accel/tcg: Build tcg-accel-ops-rr.c once
accel/tcg: Build tcg-accel-ops-mttcg.c once
accel/tcg: Split out getpc.h
accel/tcg: Build tcg-runtime.c once
accel/tcg: Build tcg-runtime-gvec.c once
accel/tcg/internal-common.h | 2 +
accel/tcg/tb-internal.h | 13 +-
include/accel/tcg/getpc.h | 24 +++
include/exec/cpu-all.h | 97 +---------
include/exec/cpu-interrupt.h | 70 +++++++
include/exec/cputlb.h | 263 ++++++++++++++++++++++++++-
include/exec/exec-all.h | 263 +--------------------------
include/exec/poison.h | 17 --
include/exec/ram_addr.h | 1 +
include/exec/target_page.h | 58 +++++-
accel/tcg/cputlb.c | 23 +++
accel/tcg/tcg-accel-ops-icount.c | 2 +-
accel/tcg/tcg-accel-ops-mttcg.c | 1 -
accel/tcg/tcg-accel-ops-rr.c | 2 +-
accel/tcg/tcg-accel-ops.c | 2 +-
accel/tcg/tcg-runtime-gvec.c | 1 -
accel/tcg/tcg-runtime.c | 8 +-
accel/tcg/watchpoint.c | 5 +-
cpu-target.c | 1 +
hw/intc/armv7m_nvic.c | 2 +-
hw/ppc/spapr_nested.c | 1 +
hw/sh4/sh7750.c | 1 +
page-target.c | 18 --
page-vary-target.c | 2 -
system/physmem.c | 1 +
system/watchpoint.c | 3 +-
target/alpha/helper.c | 2 +-
target/alpha/sys_helper.c | 2 +-
target/arm/helper.c | 1 +
target/arm/tcg/tlb-insns.c | 2 +-
target/avr/helper.c | 2 +-
target/hppa/mem_helper.c | 1 +
target/i386/helper.c | 2 +-
target/i386/machine.c | 2 +-
target/i386/tcg/fpu_helper.c | 2 +-
target/i386/tcg/misc_helper.c | 2 +-
target/i386/tcg/system/excp_helper.c | 2 +-
target/i386/tcg/system/misc_helper.c | 2 +-
target/i386/tcg/system/svm_helper.c | 2 +-
target/loongarch/tcg/csr_helper.c | 2 +-
target/loongarch/tcg/tlb_helper.c | 1 +
target/m68k/helper.c | 1 +
target/microblaze/helper.c | 2 +-
target/microblaze/mmu.c | 2 +-
target/mips/system/cp0.c | 2 +-
target/mips/tcg/system/cp0_helper.c | 2 +-
target/mips/tcg/system/tlb_helper.c | 1 +
target/openrisc/mmu.c | 2 +-
target/openrisc/sys_helper.c | 1 +
target/ppc/helper_regs.c | 2 +-
target/ppc/misc_helper.c | 1 +
target/ppc/mmu_helper.c | 1 +
target/riscv/cpu_helper.c | 1 +
target/riscv/csr.c | 1 +
target/riscv/op_helper.c | 1 +
target/riscv/pmp.c | 2 +-
target/rx/cpu.c | 2 +-
target/s390x/gdbstub.c | 2 +-
target/s390x/sigp.c | 1 +
target/s390x/tcg/excp_helper.c | 1 +
target/s390x/tcg/mem_helper.c | 1 +
target/s390x/tcg/misc_helper.c | 1 +
target/sh4/helper.c | 1 +
target/sparc/ldst_helper.c | 1 +
target/sparc/mmu_helper.c | 2 +-
target/tricore/helper.c | 2 +-
target/xtensa/helper.c | 2 +-
target/xtensa/mmu_helper.c | 1 +
accel/tcg/meson.build | 14 +-
system/meson.build | 2 +-
70 files changed, 508 insertions(+), 455 deletions(-)
create mode 100644 include/accel/tcg/getpc.h
create mode 100644 include/exec/cpu-interrupt.h
--
2.47.1
next reply other threads:[~2025-03-08 7:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-08 7:23 Philippe Mathieu-Daudé [this message]
2025-03-08 7:23 ` [PATCH v2 15/18] accel/tcg: Restrict GETPC_ADJ() to 'tb-internal.h' Philippe Mathieu-Daudé
2025-03-08 7:23 ` [PATCH v2 16/18] accel/tcg: Split out getpc.h Philippe Mathieu-Daudé
2025-03-08 7:23 ` [PATCH v2 17/18] accel/tcg: Build tcg-runtime.c once Philippe Mathieu-Daudé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250308072348.65723-1-philmd@linaro.org \
--to=philmd@linaro.org \
--cc=pierrick.bouvier@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).