[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 46/84] target/hexagon: Include helper-gen.h where needed
|
From: |
Richard Henderson |
|
Subject: |
[PATCH 46/84] target/hexagon: Include helper-gen.h where needed |
|
Date: |
Wed, 3 May 2023 08:22:53 +0100 |
This had been included via tcg-op-common.h via tcg-op.h,
but that is going away. In idef-parser.y, shuffle some
tcg related includes into a more logical order.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/hexagon/genptr.c | 1 +
target/hexagon/translate.c | 1 +
target/hexagon/idef-parser/idef-parser.y | 3 ++-
3 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/target/hexagon/genptr.c b/target/hexagon/genptr.c
index 244063b1d2..b44669cc37 100644
--- a/target/hexagon/genptr.c
+++ b/target/hexagon/genptr.c
@@ -20,6 +20,7 @@
#include "internal.h"
#include "tcg/tcg-op.h"
#include "tcg/tcg-op-gvec.h"
+#include "exec/helper-gen.h"
#include "insn.h"
#include "opcodes.h"
#include "translate.h"
diff --git a/target/hexagon/translate.c b/target/hexagon/translate.c
index cddd7c5db4..521e7c82dd 100644
--- a/target/hexagon/translate.c
+++ b/target/hexagon/translate.c
@@ -20,6 +20,7 @@
#include "cpu.h"
#include "tcg/tcg-op.h"
#include "tcg/tcg-op-gvec.h"
+#include "exec/helper-gen.h"
#include "exec/cpu_ldst.h"
#include "exec/log.h"
#include "internal.h"
diff --git a/target/hexagon/idef-parser/idef-parser.y
b/target/hexagon/idef-parser/idef-parser.y
index 5444fd4749..2cd7f3089c 100644
--- a/target/hexagon/idef-parser/idef-parser.y
+++ b/target/hexagon/idef-parser/idef-parser.y
@@ -845,13 +845,14 @@ int main(int argc, char **argv)
fputs("#include \"qemu/log.h\"\n", output_file);
fputs("#include \"cpu.h\"\n", output_file);
fputs("#include \"internal.h\"\n", output_file);
+ fputs("#include \"tcg/tcg.h\"\n", output_file);
fputs("#include \"tcg/tcg-op.h\"\n", output_file);
+ fputs("#include \"exec/helper-gen.h\"\n", output_file);
fputs("#include \"insn.h\"\n", output_file);
fputs("#include \"opcodes.h\"\n", output_file);
fputs("#include \"translate.h\"\n", output_file);
fputs("#define QEMU_GENERATE\n", output_file);
fputs("#include \"genptr.h\"\n", output_file);
- fputs("#include \"tcg/tcg.h\"\n", output_file);
fputs("#include \"macros.h\"\n", output_file);
fprintf(output_file, "#include \"%s\"\n", argv[ARG_INDEX_EMITTER_H]);
--
2.34.1
- Re: [PATCH 31/84] tcg: Add page_bits and page_mask to TCGContext, (continued)
- [PATCH 37/84] *: Add missing includes of qemu/error-report.h, Richard Henderson, 2023/05/03
- [PATCH 34/84] tcg: Add tlb_fast_offset to TCGContext, Richard Henderson, 2023/05/03
- [PATCH 40/84] tcg: Split out tcg-target-reg-bits.h, Richard Henderson, 2023/05/03
- [PATCH 41/84] target/arm: Fix test of TCG_OVERSIZED_GUEST, Richard Henderson, 2023/05/03
- [PATCH 42/84] tcg: Split out tcg/oversized-guest.h, Richard Henderson, 2023/05/03
- [PATCH 43/84] tcg: Move TCGv, dup_const_tl definitions to tcg-op.h, Richard Henderson, 2023/05/03
- [PATCH 45/84] target/arm: Include helper-gen.h in translator.h, Richard Henderson, 2023/05/03
- [PATCH 47/84] tcg: Remove outdated comments in helper-head.h, Richard Henderson, 2023/05/03
- [PATCH 44/84] tcg: Split tcg/tcg-op-common.h from tcg/tcg-op.h, Richard Henderson, 2023/05/03
- [PATCH 46/84] target/hexagon: Include helper-gen.h where needed,
Richard Henderson <=
- [PATCH 51/84] tcg: Split tcg_gen_callN, Richard Henderson, 2023/05/03
- [PATCH 54/84] tcg: Add insn_start_words to TCGContext, Richard Henderson, 2023/05/03
- [PATCH 53/84] tcg: Split helper-proto.h, Richard Henderson, 2023/05/03
- [PATCH 50/84] tcg: Move temp_idx and tcgv_i32_temp debug out of line, Richard Henderson, 2023/05/03
- [PATCH 48/84] tcg: Move TCGHelperInfo and dependencies to tcg/helper-info.h, Richard Henderson, 2023/05/03
- [PATCH 55/84] tcg: Add guest_mo to TCGContext, Richard Henderson, 2023/05/03
- [PATCH 62/84] tcg: Remove USE_TCG_OPTIMIZATIONS, Richard Henderson, 2023/05/03
- [PATCH 57/84] tcg: Split tcg/tcg-op-gvec.h, Richard Henderson, 2023/05/03
- [PATCH 68/84] target/arm: Tidy helpers for translation, Richard Henderson, 2023/05/03
- [PATCH 69/84] target/mips: Tidy helpers for translation, Richard Henderson, 2023/05/03