Browse Source
This will enable replacement of TARGET_INSN_START_WORDS in tcg.c. Split out "tcg/insn-start-words.h" and use it in target/. Reviewed-by: Anton Johansson <anjo@rev.ng> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>pull/241/head
9 changed files with 58 additions and 30 deletions
@ -0,0 +1,17 @@ |
|||
/* SPDX-License-Identifier: MIT */ |
|||
/*
|
|||
* Define TARGET_INSN_START_WORDS |
|||
* Copyright (c) 2008 Fabrice Bellard |
|||
*/ |
|||
|
|||
#ifndef TARGET_INSN_START_WORDS |
|||
|
|||
#include "cpu.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 */ |
|||
Loading…
Reference in new issue