]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
target/arm: extract helper-sve.h from helper.h
authorPierrick Bouvier <pierrick.bouvier@linaro.org>
Thu, 19 Feb 2026 04:01:41 +0000 (20:01 -0800)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 19 Feb 2026 10:12:25 +0000 (10:12 +0000)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-id: 20260219040150.2098396-6-pierrick.bouvier@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper-sve.h [new file with mode: 0644]
target/arm/helper.h
target/arm/tcg/gengvec64.c
target/arm/tcg/helper-sve-defs.h [moved from target/arm/tcg/helper-sve.h with 100% similarity]
target/arm/tcg/sve_helper.c
target/arm/tcg/translate-a64.c
target/arm/tcg/translate-sme.c
target/arm/tcg/translate-sve.c
target/arm/tcg/vec_helper.c

diff --git a/target/arm/helper-sve.h b/target/arm/helper-sve.h
new file mode 100644 (file)
index 0000000..ae4f46c
--- /dev/null
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#ifndef HELPER_SVE_H
+#define HELPER_SVE_H
+
+#include "exec/helper-proto-common.h"
+#include "exec/helper-gen-common.h"
+
+#define HELPER_H "tcg/helper-sve-defs.h"
+#include "exec/helper-proto.h.inc"
+#include "exec/helper-gen.h.inc"
+#undef HELPER_H
+
+#endif /* HELPER_SVE_H */
index 79f8de1e169a383218c2b8180573f33ecf8418c3..2f724643d39f789c60c1f628968b916e3d0db15a 100644 (file)
@@ -3,6 +3,5 @@
 #include "tcg/helper.h"
 
 #ifdef TARGET_AARCH64
-#include "tcg/helper-sve.h"
 #include "tcg/helper-sme.h"
 #endif
index c425d2b14901d65e38717a0b5762aea39f9449cd..c7bdd1ea82f15d96e7d2edeb22b6654741526830 100644 (file)
  */
 
 #include "qemu/osdep.h"
+#include "cpu.h"
+#include "helper-sve.h"
 #include "translate.h"
 #include "translate-a64.h"
 
-
 static void gen_rax1_i64(TCGv_i64 d, TCGv_i64 n, TCGv_i64 m)
 {
     tcg_gen_rotli_i64(d, m, 1);
index 0600eea47c721b6014e9f30a92f2b6aa91cbad1f..16e528e41a6d50e6bf6ece82eee717d2eab4e8bd 100644 (file)
@@ -25,6 +25,7 @@
 #include "exec/target_page.h"
 #include "exec/tlb-flags.h"
 #include "helper-a64.h"
+#include "helper-sve.h"
 #include "tcg/tcg-gvec-desc.h"
 #include "fpu/softfloat.h"
 #include "tcg/tcg.h"
@@ -38,6 +39,8 @@
 #include "user/page-protection.h"
 #endif
 
+#define HELPER_H "tcg/helper-sve-defs.h"
+#include "exec/helper-info.c.inc"
 
 /* Return a value for NZCV as per the ARM PredTest pseudofunction.
  *
index 1a54337b6a844d38be9d6a0ee6d67a9895099c37..31fb2ea9cc378d394eaf74150cf6715735a0b4ad 100644 (file)
@@ -19,6 +19,7 @@
 #include "qemu/osdep.h"
 #include "exec/target_page.h"
 #include "helper-a64.h"
+#include "helper-sve.h"
 #include "translate.h"
 #include "translate-a64.h"
 #include "qemu/log.h"
index 091c56da4f4ea43ae9e2e97e92f5e514b50b49d5..463ece97ab80fadb69fa0c501a967ca2628a1fb7 100644 (file)
@@ -18,6 +18,8 @@
  */
 
 #include "qemu/osdep.h"
+#include "cpu.h"
+#include "helper-sve.h"
 #include "translate.h"
 #include "translate-a64.h"
 
index 956ddee1232016853f8e99c8e17330d2fe24bb3d..bd6be68d810360ad189cdc86a55ff875e44f34d3 100644 (file)
@@ -18,6 +18,8 @@
  */
 
 #include "qemu/osdep.h"
+#include "cpu.h"
+#include "helper-sve.h"
 #include "translate.h"
 #include "translate-a64.h"
 #include "fpu/softfloat.h"
index 7451a283efa027baee1cc4a3ee3bd8eb3e103a95..bc64c8ff374cd5d0dd097d6ab406c26264b3989b 100644 (file)
@@ -21,6 +21,7 @@
 #include "cpu.h"
 #include "exec/helper-proto.h"
 #include "helper-a64.h"
+#include "helper-sve.h"
 #include "tcg/tcg-gvec-desc.h"
 #include "fpu/softfloat.h"
 #include "qemu/int128.h"