diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2025-04-30 13:57:30 -0700 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2025-05-01 07:37:13 -0700 |
| commit | e1d8fabc20adb6a766773adb4a9b5bfe93e329bb (patch) | |
| tree | 55ac56827ebe1a6b9c934225374521a7c2d0ef11 /include/tcg/insn-start-words.h | |
| parent | c1be135ad5b124b08715ca836b95b738c6b9d7d4 (diff) | |
| download | focaccia-qemu-e1d8fabc20adb6a766773adb4a9b5bfe93e329bb.tar.gz focaccia-qemu-e1d8fabc20adb6a766773adb4a9b5bfe93e329bb.zip | |
tcg: Define INSN_START_WORDS as constant 3
Use the same value for all targets. Rename TARGET_INSN_START_WORDS and do not depend on TARGET_INSN_START_EXTRA_WORDS. Remove TCGContext.insn_start_words. Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/tcg/insn-start-words.h')
| -rw-r--r-- | include/tcg/insn-start-words.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/include/tcg/insn-start-words.h b/include/tcg/insn-start-words.h index d416d19bcf..c52aec50a7 100644 --- a/include/tcg/insn-start-words.h +++ b/include/tcg/insn-start-words.h @@ -1,13 +1,12 @@ /* SPDX-License-Identifier: MIT */ /* - * Define TARGET_INSN_START_WORDS + * Define INSN_START_WORDS * Copyright (c) 2008 Fabrice Bellard */ -#ifndef TARGET_INSN_START_WORDS +#ifndef TCG_INSN_START_WORDS +#define TCG_INSN_START_WORDS -#include "cpu-param.h" +#define INSN_START_WORDS 3 -# define TARGET_INSN_START_WORDS (1 + TARGET_INSN_START_EXTRA_WORDS) - -#endif /* TARGET_INSN_START_WORDS */ +#endif /* TCG_INSN_START_WORDS */ |