target/arm: extract helper-a64.h from helper.h
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-id: 20260219040150.2098396-5-pierrick.bouvier@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Pierrick Bouvier committed
Feb 18, 2026 at 20:01 UTC
903a87216c150d63a4c44aedee015aceb42ecc18
9 files changed
+23
-1
target/arm/helper-a64.h
new
+14
@@ -0,0 +1,14 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
2
+
3
+#ifndef HELPER_A64_H
4
+#define HELPER_A64_H
5
+
6
+#include "exec/helper-proto-common.h"
7
+#include "exec/helper-gen-common.h"
8
+
9
+#define HELPER_H "tcg/helper-a64-defs.h"
10
+#include "exec/helper-proto.h.inc"
11
+#include "exec/helper-gen.h.inc"
12
+#undef HELPER_H
13
+
14
+#endif /* HELPER_A64_H */
target/arm/helper.h
-1
@@ -3,7 +3,6 @@
3
#include "tcg/helper.h"
4
5
#ifdef TARGET_AARCH64
6
-#include "tcg/helper-a64.h"
6
#include "tcg/helper-sve.h"
7
#include "tcg/helper-sme.h"
8
#endif
target/arm/tcg/helper-a64-defs.h
renamed
target/arm/tcg/helper-a64.c
+4
@@ -22,6 +22,7 @@
22
#include "cpu.h"
23
#include "gdbstub/helpers.h"
24
#include "exec/helper-proto.h"
25
+#include "helper-a64.h"
26
#include "qemu/host-utils.h"
27
#include "qemu/log.h"
28
#include "qemu/main-loop.h"
@@ -43,6 +44,9 @@
44
#endif
45
#include "vec_internal.h"
46
47
+#define HELPER_H "tcg/helper-a64-defs.h"
48
+#include "exec/helper-info.c.inc"
49
+
50
/* C2.4.7 Multiply and divide */
51
/* special cases for 0 and LLONG_MIN are mandated by the standard */
52
uint64_t HELPER(udiv64)(uint64_t num, uint64_t den)
target/arm/tcg/mte_helper.c
+1
@@ -31,6 +31,7 @@
31
#endif
32
#include "accel/tcg/cpu-ldst.h"
33
#include "accel/tcg/probe.h"
34
+#include "helper-a64.h"
35
#include "exec/helper-proto.h"
36
#include "exec/tlb-flags.h"
37
#include "accel/tcg/cpu-ops.h"
target/arm/tcg/pauth_helper.c
+1
@@ -22,6 +22,7 @@
22
#include "internals.h"
23
#include "cpu-features.h"
24
#include "accel/tcg/cpu-ldst.h"
25
+#include "helper-a64.h"
26
#include "exec/helper-proto.h"
27
#include "tcg/tcg-gvec-desc.h"
28
#include "qemu/xxhash.h"
target/arm/tcg/sve_helper.c
+1
@@ -24,6 +24,7 @@
24
#include "exec/helper-proto.h"
25
#include "exec/target_page.h"
26
#include "exec/tlb-flags.h"
27
+#include "helper-a64.h"
28
#include "tcg/tcg-gvec-desc.h"
29
#include "fpu/softfloat.h"
30
#include "tcg/tcg.h"
target/arm/tcg/translate-a64.c
+1
@@ -18,6 +18,7 @@
18
*/
19
#include "qemu/osdep.h"
20
#include "exec/target_page.h"
21
+#include "helper-a64.h"
22
#include "translate.h"
23
#include "translate-a64.h"
24
#include "qemu/log.h"
target/arm/tcg/vec_helper.c
+1
@@ -20,6 +20,7 @@
20
#include "qemu/osdep.h"
21
#include "cpu.h"
22
#include "exec/helper-proto.h"
23
+#include "helper-a64.h"
24
#include "tcg/tcg-gvec-desc.h"
25
#include "fpu/softfloat.h"
26
#include "qemu/int128.h"