@samitouri / QOSamiQemu / commits / fc41553dcb

target/arm/translate.h: remove tcg-op.h include

Include tcg-op-common.h instead, and include target specific tcg-op.h in files needing it. This intermediate step allows to clean up every file (TCGv, tcg_gen.*_tl.*) in separate commits. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-id: 20260407222208.271838-3-pierrick.bouvier@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

Pierrick Bouvier committed Apr 23, 2026 at 10:24 UTC fc41553dcb438684d74a896eef175515669c2458
5 files changed +5 -1
target/arm/tcg/translate-a64.c
+1
@@ -23,6 +23,7 @@
23 #include "helper-sve.h"
24 #include "translate.h"
25 #include "translate-a64.h"
26 +#include "tcg/tcg-op.h"
27 #include "qemu/log.h"
28 #include "arm_ldst.h"
29 #include "semihosting/semihost.h"
target/arm/tcg/translate-sme.c
+1
@@ -23,6 +23,7 @@
23 #include "helper-sve.h"
24 #include "translate.h"
25 #include "translate-a64.h"
26 +#include "tcg/tcg-op.h"
27
28 /*
29 * Include the generated decoder.
target/arm/tcg/translate-sve.c
+1
@@ -23,6 +23,7 @@
23 #include "helper-sve.h"
24 #include "translate.h"
25 #include "translate-a64.h"
26 +#include "tcg/tcg-op.h"
27 #include "fpu/softfloat.h"
28
29
target/arm/tcg/translate.c
+1
@@ -22,6 +22,7 @@
22
23 #include "translate.h"
24 #include "translate-a32.h"
25 +#include "tcg/tcg-op.h"
26 #include "qemu/log.h"
27 #include "arm_ldst.h"
28 #include "semihosting/semihost.h"
target/arm/tcg/translate.h
+1 -1
@@ -2,7 +2,7 @@
2 #define TARGET_ARM_TRANSLATE_H
3
4 #include "cpu.h"
5 -#include "tcg/tcg-op.h"
5 +#include "tcg/tcg-op-common.h"
6 #include "tcg/tcg-op-gvec.h"
7 #include "exec/translator.h"
8 #include "exec/translation-block.h"