747bd69d0f
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>
18 lines
359 B
C
18 lines
359 B
C
/* 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 */
|