[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 11/13] target/arm: Move NeonGenThreeOpEnvFn typedef to transla
From: |
Peter Maydell |
Subject: |
[PATCH v2 11/13] target/arm: Move NeonGenThreeOpEnvFn typedef to translate.h |
Date: |
Fri, 30 Apr 2021 14:27:38 +0100 |
Move the NeonGenThreeOpEnvFn typedef to translate.h together
with the other similar typedefs.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
---
target/arm/translate.h | 2 ++
target/arm/translate.c | 3 ---
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/target/arm/translate.h b/target/arm/translate.h
index 8130a3be29d..12c28b0d32c 100644
--- a/target/arm/translate.h
+++ b/target/arm/translate.h
@@ -409,6 +409,8 @@ typedef void NeonGenOneOpFn(TCGv_i32, TCGv_i32);
typedef void NeonGenOneOpEnvFn(TCGv_i32, TCGv_ptr, TCGv_i32);
typedef void NeonGenTwoOpFn(TCGv_i32, TCGv_i32, TCGv_i32);
typedef void NeonGenTwoOpEnvFn(TCGv_i32, TCGv_ptr, TCGv_i32, TCGv_i32);
+typedef void NeonGenThreeOpEnvFn(TCGv_i32, TCGv_env, TCGv_i32,
+ TCGv_i32, TCGv_i32);
typedef void NeonGenTwo64OpFn(TCGv_i64, TCGv_i64, TCGv_i64);
typedef void NeonGenTwo64OpEnvFn(TCGv_i64, TCGv_ptr, TCGv_i64, TCGv_i64);
typedef void NeonGenNarrowFn(TCGv_i32, TCGv_i64);
diff --git a/target/arm/translate.c b/target/arm/translate.c
index 58cb3e8aafe..7ff0425c752 100644
--- a/target/arm/translate.c
+++ b/target/arm/translate.c
@@ -66,9 +66,6 @@ static const char * const regnames[] =
{ "r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7",
"r8", "r9", "r10", "r11", "r12", "r13", "r14", "pc" };
-/* Function prototypes for gen_ functions calling Neon helpers. */
-typedef void NeonGenThreeOpEnvFn(TCGv_i32, TCGv_env, TCGv_i32,
- TCGv_i32, TCGv_i32);
/* initialize TCG globals. */
void arm_translate_init(void)
--
2.20.1
- [PATCH v2 06/13] target/arm: Move vfp_{load, store}_reg{32, 64} to translate-vfp.c.inc, (continued)
- [PATCH v2 06/13] target/arm: Move vfp_{load, store}_reg{32, 64} to translate-vfp.c.inc, Peter Maydell, 2021/04/30
- [PATCH v2 05/13] target/arm: Move gen_aa32 functions to translate-a32.h, Peter Maydell, 2021/04/30
- [PATCH v2 01/13] target/arm: Move constant expanders to translate.h, Peter Maydell, 2021/04/30
- [PATCH v2 02/13] target/arm: Share unallocated_encoding() and gen_exception_insn(), Peter Maydell, 2021/04/30
- [PATCH v2 07/13] target/arm: Make functions used by translate-vfp global, Peter Maydell, 2021/04/30
- [PATCH v2 12/13] target/arm: Make functions used by translate-neon global, Peter Maydell, 2021/04/30
- [PATCH v2 03/13] target/arm: Make functions used by m-nocp global, Peter Maydell, 2021/04/30
- [PATCH v2 10/13] target/arm: Delete unused typedef, Peter Maydell, 2021/04/30
- [PATCH v2 11/13] target/arm: Move NeonGenThreeOpEnvFn typedef to translate.h,
Peter Maydell <=
- [PATCH v2 09/13] target/arm: Move vfp_reg_ptr() to translate-neon.c.inc, Peter Maydell, 2021/04/30
- [PATCH v2 08/13] target/arm: Make translate-vfp.c.inc its own compilation unit, Peter Maydell, 2021/04/30
- [PATCH v2 13/13] target/arm: Make translate-neon.c.inc its own compilation unit, Peter Maydell, 2021/04/30