aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierrick Bouvier <pierrick.bouvier@linaro.org>2025-05-12 11:04:56 -0700
committerPeter Maydell <peter.maydell@linaro.org>2025-05-14 15:12:40 +0100
commitd5f8252cd15bf0dc3ac458e7e78427905966cfbf (patch)
treea36bf54efcf6159801ded80e6a2039dfe7975732
parent12ae629d231b01e065b60288e82573842654054c (diff)
downloadqemu-d5f8252cd15bf0dc3ac458e7e78427905966cfbf.zip
qemu-d5f8252cd15bf0dc3ac458e7e78427905966cfbf.tar.gz
qemu-d5f8252cd15bf0dc3ac458e7e78427905966cfbf.tar.bz2
target/arm/tcg/iwmmxt_helper: compile file twice (system, user)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-id: 20250512180502.2395029-43-pierrick.bouvier@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--target/arm/tcg/iwmmxt_helper.c4
-rw-r--r--target/arm/tcg/meson.build3
2 files changed, 5 insertions, 2 deletions
diff --git a/target/arm/tcg/iwmmxt_helper.c b/target/arm/tcg/iwmmxt_helper.c
index 610b1b2..ba054b6 100644
--- a/target/arm/tcg/iwmmxt_helper.c
+++ b/target/arm/tcg/iwmmxt_helper.c
@@ -22,7 +22,9 @@
#include "qemu/osdep.h"
#include "cpu.h"
-#include "exec/helper-proto.h"
+
+#define HELPER_H "tcg/helper.h"
+#include "exec/helper-proto.h.inc"
/* iwMMXt macros extracted from GNU gdb. */
diff --git a/target/arm/tcg/meson.build b/target/arm/tcg/meson.build
index cee00b2..02dfe76 100644
--- a/target/arm/tcg/meson.build
+++ b/target/arm/tcg/meson.build
@@ -30,7 +30,6 @@ arm_ss.add(files(
'translate-mve.c',
'translate-neon.c',
'translate-vfp.c',
- 'iwmmxt_helper.c',
'm_helper.c',
'mve_helper.c',
'neon_helper.c',
@@ -68,7 +67,9 @@ arm_common_ss.add(files(
arm_common_system_ss.add(files(
'hflags.c',
+ 'iwmmxt_helper.c',
))
arm_user_ss.add(files(
'hflags.c',
+ 'iwmmxt_helper.c',
))