[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/3] Replace TARGET_TB_PCREL with CF_PCREL
From: |
Anton Johansson |
Subject: |
[PATCH 0/3] Replace TARGET_TB_PCREL with CF_PCREL |
Date: |
Tue, 7 Feb 2023 11:43:49 +0100 |
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
- [PATCH 0/3] Replace TARGET_TB_PCREL with CF_PCREL,
Anton Johansson <=