On 24/4/25 03:19, Richard Henderson wrote:
Instead of having a compile-time TARGET_HAS_PRECISE_SMC definition,
have each target set the 'precise_smc' field in the TCGCPUOps
structure.
Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
---
include/accel/tcg/cpu-ops.h | 7 +++++++
include/exec/poison.h | 1 -
target/i386/cpu.h | 4 ----
target/s390x/cpu.h | 2 --
accel/tcg/tb-maint.c | 32 +++++++++++++-------------------
accel/tcg/user-exec.c | 10 +++++-----
target/i386/tcg/tcg-cpu.c | 1 +
target/s390x/cpu.c | 1 +
8 files changed, 27 insertions(+), 31 deletions(-)
Nice!
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>