On 4/2/25 14:23, Philippe Mathieu-Daudé wrote:
Instead of having a compile-time TARGET_SUPPORTS_MTTCG definition,
have each target set the 'mttcg_supported' field in the TCGCPUOps
structure.
Since so far we only emulate one target architecture at a time,
tcg_init_machine() gets whether MTTCG is supported via the
current CPU class (CPU_RESOLVING_TYPE).
Since TARGET_SUPPORTS_MTTCG isn't available anymore,
instead of emiting a warning when the 'thread' property
is set in tcg_set_thread(), emit it in tcg_init_machine()
where it is consumed.
Signed-off-by: Philippe Mathieu-Daudé<phi...@linaro.org>
Reviewed-by: Anton Johansson<a...@rev.ng>
Reviewed-by: Pierrick Bouvier<pierrick.bouv...@linaro.org>
---
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~