tcg: Add tlb_fast_offset to TCGContext
commitd0a9bb5ecb85383198fb416bb8ecfd11127e6452
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 27 Mar 2023 23:07:15 +0000 (27 16:07 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 5 Jun 2023 19:04:28 +0000 (5 12:04 -0700)
tree8be1e95665440739b4f0c39c3ca2cec3eaaaf795
parent238f43809a85a47cfbbc2e1d6aff4640fec30328
tcg: Add tlb_fast_offset to TCGContext

Disconnect the layout of ArchCPU from TCG compilation.
Pass the relative offset of 'env' and 'neg.tlb.f' as a parameter.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
14 files changed:
accel/tcg/translate-all.c
include/exec/cpu-defs.h
include/exec/tlb-common.h [new file with mode: 0644]
include/tcg/tcg.h
tcg/aarch64/tcg-target.c.inc
tcg/arm/tcg-target.c.inc
tcg/i386/tcg-target.c.inc
tcg/loongarch64/tcg-target.c.inc
tcg/mips/tcg-target.c.inc
tcg/ppc/tcg-target.c.inc
tcg/riscv/tcg-target.c.inc
tcg/s390x/tcg-target.c.inc
tcg/sparc64/tcg-target.c.inc
tcg/tcg.c