diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-03-29 11:44:06 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-06-05 12:04:28 -0700 |
commit | 13e27d1fa4b0b2109f91bcd078e93cb6a6d7a7cb (patch) | |
tree | 876360d000f57cbf7eab687814714564739c7030 /target/hexagon/idef-parser/idef-parser.y | |
parent | a46f42d96f3b1f548f3b5545c6da9641b744917d (diff) | |
download | qemu-13e27d1fa4b0b2109f91bcd078e93cb6a6d7a7cb.zip qemu-13e27d1fa4b0b2109f91bcd078e93cb6a6d7a7cb.tar.gz qemu-13e27d1fa4b0b2109f91bcd078e93cb6a6d7a7cb.tar.bz2 |
target/hexagon: Include helper-gen.h where needed
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.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/hexagon/idef-parser/idef-parser.y')
-rw-r--r-- | target/hexagon/idef-parser/idef-parser.y | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target/hexagon/idef-parser/idef-parser.y b/target/hexagon/idef-parser/idef-parser.y index 5c98395..cd2612e 100644 --- a/target/hexagon/idef-parser/idef-parser.y +++ b/target/hexagon/idef-parser/idef-parser.y @@ -843,13 +843,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]); |