@samitouri / QOSamiQemu / commits / e34d5b3e25

target/arm: Compile m_helper.c once

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20260414005348.4767-10-philmd@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

Philippe Mathieu-Daudé committed Apr 14, 2026 at 02:53 UTC e34d5b3e253db620439442328a8060e08bf17999
2 files changed +3 -2
target/arm/tcg/m_helper.c
+1 -1
@@ -17,7 +17,7 @@
17 #include "qemu/log.h"
18 #include "exec/page-protection.h"
19 #ifdef CONFIG_TCG
20 -#include "accel/tcg/cpu-ldst.h"
20 +#include "accel/tcg/cpu-ldst-common.h"
21 #include "semihosting/common-semi.h"
22 #endif
23 #if !defined(CONFIG_USER_ONLY)
target/arm/tcg/meson.build
+2 -1
@@ -32,7 +32,6 @@ arm_ss.add(when: 'TARGET_AARCH64', if_false: files('stubs32.c'))
32
33 arm_ss.add(files(
34 'cpu32.c',
35 - 'm_helper.c',
35 ))
36
37 arm_ss.add(when: 'TARGET_AARCH64', if_true: files(
@@ -70,6 +69,7 @@ arm_common_system_ss.add(
69 'debug.c',
70 'hflags.c',
71 'gengvec.c',
72 + 'm_helper.c',
73 'mve_helper.c',
74 'neon_helper.c',
75 'op_helper.c',
@@ -94,6 +94,7 @@ arm_user_ss.add(
94 'debug.c',
95 'gengvec.c',
96 'hflags.c',
97 + 'm_helper.c',
98 'mve_helper.c',
99 'neon_helper.c',
100 'op_helper.c',