This series is similar to the TARGET_SUPPORTS_MTTCG replacement to a 'mttcg_supported' field in TCGCPUOps, but doing it for TARGET_HAS_PRECISE_SMC, adding the 'has_precise_smc' field.
Based on tcg-next tree. Philippe Mathieu-Daudé (2): tcg: Introduce and use target_has_precise_smc() runtime helper tcg: Convert TARGET_HAS_PRECISE_SMC to TCGCPUOps::has_precise_smc field accel/tcg/tb-internal.h | 3 +++ include/accel/tcg/cpu-ops.h | 8 ++++++++ include/exec/poison.h | 1 - target/i386/cpu.h | 4 ---- target/s390x/cpu.h | 2 -- accel/tcg/cpu-exec.c | 12 ++++++++++-- accel/tcg/tb-maint.c | 18 +++++------------- accel/tcg/user-exec.c | 10 +++++----- target/i386/tcg/tcg-cpu.c | 1 + target/s390x/cpu.c | 1 + 10 files changed, 33 insertions(+), 27 deletions(-) -- 2.47.1