qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Replace TARGET_TB_PCREL with CF_PCREL
@ 2023-02-07 10:43 Anton Johansson via
  2023-02-07 10:43 ` [PATCH 1/3] include/exec: Introduce `CF_PCREL` Anton Johansson via
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Anton Johansson via @ 2023-02-07 10:43 UTC (permalink / raw)
  To: qemu-devel; +Cc: ale, richard.henderson, pbonzini, eduardo, peter.maydell

This patchset entirely replaces the macro TARGET_TB_PCREL with
a field in TranslationBlock.cflags called CF_PCREL, and is a
first step towards removing target-specific assumptions from
non-target/ directories.

The grand goal is to allow for heterogeneous QEMU binaries
consisting of multiple frontends.

RFC: https://lists.nongnu.org/archive/html/qemu-devel/2022-12/msg04518.html

Anton Johansson (3):
  include/exec: Introduce `CF_PCREL`
  Replace `TARGET_TB_PCREL` with `CF_PCREL`
  target: Set `CF_PCREL` for arm and i386 frontends

 accel/tcg/cpu-exec.c        |  8 +++----
 accel/tcg/internal.h        | 10 ++++----
 accel/tcg/perf.c            |  2 +-
 accel/tcg/tb-jmp-cache.h    | 48 ++++++++++++++++++-------------------
 accel/tcg/tb-maint.c        |  8 +++----
 accel/tcg/translate-all.c   | 14 +++++------
 include/exec/cpu-defs.h     |  3 ---
 include/exec/exec-all.h     | 28 ++++++++++------------
 target/arm/cpu-param.h      |  2 --
 target/arm/cpu.c            | 13 ++++++----
 target/arm/translate-a64.c  |  8 +++----
 target/arm/translate.c      |  6 ++---
 target/arm/translate.h      |  2 +-
 target/i386/cpu-param.h     |  4 ----
 target/i386/cpu.c           |  5 ++++
 target/i386/helper.c        |  2 +-
 target/i386/tcg/tcg-cpu.c   |  6 ++---
 target/i386/tcg/translate.c | 26 ++++++++++----------
 18 files changed, 95 insertions(+), 100 deletions(-)

--
2.39.1


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

end of thread, other threads:[~2023-02-08 21:16 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-07 10:43 [PATCH 0/3] Replace TARGET_TB_PCREL with CF_PCREL Anton Johansson via
2023-02-07 10:43 ` [PATCH 1/3] include/exec: Introduce `CF_PCREL` Anton Johansson via
2023-02-08 20:47   ` Richard Henderson
2023-02-07 10:43 ` [PATCH 2/3] Replace `TARGET_TB_PCREL` with `CF_PCREL` Anton Johansson via
2023-02-07 11:26   ` Philippe Mathieu-Daudé
2023-02-08 12:48     ` Anton Johansson via
2023-02-08 21:14   ` Richard Henderson
2023-02-07 10:43 ` [PATCH 3/3] target: Set `CF_PCREL` for arm and i386 frontends Anton Johansson via
2023-02-07 11:27   ` Philippe Mathieu-Daudé
2023-02-08 12:51     ` Anton Johansson via
2023-02-08 21:15   ` 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).