1 /* SPDX-License-Identifier: MIT */
3 * Define TCG_OVERSIZED_GUEST
4 * Copyright (c) 2008 Fabrice Bellard
7 #ifndef EXEC_TCG_OVERSIZED_GUEST_H
8 #define EXEC_TCG_OVERSIZED_GUEST_H
10 #include "tcg-target-reg-bits.h"
11 #include "cpu-param.h"
14 * Oversized TCG guests make things like MTTCG hard
15 * as we can't use atomics for cputlb updates.
17 #if TARGET_LONG_BITS > TCG_TARGET_REG_BITS
18 #define TCG_OVERSIZED_GUEST 1
20 #define TCG_OVERSIZED_GUEST 0