mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
tcg: Always define TARGET_INSN_START_EXTRA_WORDS
Do not define TARGET_INSN_START_EXTRA_WORDS under the hood, have each target explicitly define it. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
21d41c566d
commit
4ff1b33edf
10 changed files with 17 additions and 5 deletions
|
@ -8,10 +8,6 @@
|
|||
|
||||
#include "cpu-param.h"
|
||||
|
||||
#ifndef TARGET_INSN_START_EXTRA_WORDS
|
||||
# define TARGET_INSN_START_WORDS 1
|
||||
#else
|
||||
# define TARGET_INSN_START_WORDS (1 + TARGET_INSN_START_EXTRA_WORDS)
|
||||
#endif
|
||||
|
||||
#endif /* TARGET_INSN_START_WORDS */
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
# error
|
||||
#endif
|
||||
|
||||
#ifndef TARGET_INSN_START_EXTRA_WORDS
|
||||
#if TARGET_INSN_START_EXTRA_WORDS == 0
|
||||
static inline void tcg_gen_insn_start(target_ulong pc)
|
||||
{
|
||||
TCGOp *op = tcg_emit_op(INDEX_op_insn_start, 64 / TCG_TARGET_REG_BITS);
|
||||
|
|
|
@ -24,6 +24,8 @@
|
|||
# define TARGET_VIRT_ADDR_SPACE_BITS (30 + TARGET_PAGE_BITS)
|
||||
#endif
|
||||
|
||||
#define TARGET_INSN_START_EXTRA_WORDS 0
|
||||
|
||||
/* Alpha processors have a weak memory model */
|
||||
#define TCG_GUEST_DEFAULT_MO (0)
|
||||
|
||||
|
|
|
@ -25,6 +25,8 @@
|
|||
#define TARGET_PHYS_ADDR_SPACE_BITS 24
|
||||
#define TARGET_VIRT_ADDR_SPACE_BITS 24
|
||||
|
||||
#define TARGET_INSN_START_EXTRA_WORDS 0
|
||||
|
||||
#define TCG_GUEST_DEFAULT_MO 0
|
||||
|
||||
#endif
|
||||
|
|
|
@ -23,4 +23,6 @@
|
|||
#define TARGET_PHYS_ADDR_SPACE_BITS 36
|
||||
#define TARGET_VIRT_ADDR_SPACE_BITS 32
|
||||
|
||||
#define TARGET_INSN_START_EXTRA_WORDS 0
|
||||
|
||||
#endif
|
||||
|
|
|
@ -13,6 +13,8 @@
|
|||
|
||||
#define TARGET_PAGE_BITS 12
|
||||
|
||||
#define TARGET_INSN_START_EXTRA_WORDS 0
|
||||
|
||||
#define TCG_GUEST_DEFAULT_MO (0)
|
||||
|
||||
#endif
|
||||
|
|
|
@ -37,6 +37,8 @@
|
|||
# define TARGET_PAGE_BITS 12
|
||||
#endif
|
||||
|
||||
#define TARGET_INSN_START_EXTRA_WORDS 0
|
||||
|
||||
#define TCG_GUEST_DEFAULT_MO 0
|
||||
|
||||
#endif
|
||||
|
|
|
@ -24,4 +24,6 @@
|
|||
#define TARGET_PHYS_ADDR_SPACE_BITS 32
|
||||
#define TARGET_VIRT_ADDR_SPACE_BITS 32
|
||||
|
||||
#define TARGET_INSN_START_EXTRA_WORDS 0
|
||||
|
||||
#endif
|
||||
|
|
|
@ -12,4 +12,6 @@
|
|||
#define TARGET_PHYS_ADDR_SPACE_BITS 32
|
||||
#define TARGET_VIRT_ADDR_SPACE_BITS 32
|
||||
|
||||
#define TARGET_INSN_START_EXTRA_WORDS 0
|
||||
|
||||
#endif
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
#define TARGET_VIRT_ADDR_SPACE_BITS 32
|
||||
#endif
|
||||
|
||||
#define TARGET_INSN_START_EXTRA_WORDS 0
|
||||
|
||||
/* Xtensa processors have a weak memory model */
|
||||
#define TCG_GUEST_DEFAULT_MO (0)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue