[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 089/117] target/arm: Use TRANS_FEAT for DO_FP3
From: |
Peter Maydell |
Subject: |
[PULL 089/117] target/arm: Use TRANS_FEAT for DO_FP3 |
Date: |
Mon, 30 May 2022 17:06:40 +0100 |
From: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220527181907.189259-87-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
target/arm/translate-sve.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/target/arm/translate-sve.c b/target/arm/translate-sve.c
index 61bf5f57578..d596e7a0277 100644
--- a/target/arm/translate-sve.c
+++ b/target/arm/translate-sve.c
@@ -3799,14 +3799,11 @@ static bool trans_FADDA(DisasContext *s, arg_rprr_esz
*a)
*/
#define DO_FP3(NAME, name) \
-static bool trans_##NAME(DisasContext *s, arg_rrr_esz *a) \
-{ \
- static gen_helper_gvec_3_ptr * const fns[4] = { \
+ static gen_helper_gvec_3_ptr * const name##_fns[4] = { \
NULL, gen_helper_gvec_##name##_h, \
gen_helper_gvec_##name##_s, gen_helper_gvec_##name##_d \
}; \
- return gen_gvec_fpst_arg_zzz(s, fns[a->esz], a, 0); \
-}
+ TRANS_FEAT(NAME, aa64_sve, gen_gvec_fpst_arg_zzz, name##_fns[a->esz], a, 0)
DO_FP3(FADD_zzz, fadd)
DO_FP3(FSUB_zzz, fsub)
--
2.25.1
- [PULL 087/117] target/arm: Use TRANS_FEAT for BFMLA, (continued)
- [PULL 087/117] target/arm: Use TRANS_FEAT for BFMLA, Peter Maydell, 2022/05/30
- [PULL 051/117] target/arm: Move sve check into do_index, Peter Maydell, 2022/05/30
- [PULL 066/117] target/arm: Use TRANS_FEAT for do_last_fp, Peter Maydell, 2022/05/30
- [PULL 072/117] target/arm: Use TRANS_FEAT for do_brk2, do_brk3, Peter Maydell, 2022/05/30
- [PULL 071/117] target/arm: Use TRANS_FEAT for do_ppzi_flags, Peter Maydell, 2022/05/30
- [PULL 076/117] target/arm: Reject copy w/ shifted byte early, Peter Maydell, 2022/05/30
- [PULL 081/117] target/arm: Use TRANS_FEAT for FMMLA, Peter Maydell, 2022/05/30
- [PULL 099/117] target/arm: Use TRANS_FEAT for FLOGB, Peter Maydell, 2022/05/30
- [PULL 065/117] target/arm: Use TRANS_FEAT for do_clast_general, Peter Maydell, 2022/05/30
- [PULL 085/117] target/arm: Use TRANS_FEAT for MOVPRFX, Peter Maydell, 2022/05/30
- [PULL 089/117] target/arm: Use TRANS_FEAT for DO_FP3,
Peter Maydell <=
- [PULL 097/117] target/arm: Move null function and sve check into do_frint_mode, Peter Maydell, 2022/05/30
- [PULL 078/117] target/arm: Use TRANS_FEAT for do_zzi_sat, Peter Maydell, 2022/05/30
- [PULL 098/117] target/arm: Use TRANS_FEAT for do_frint_mode, Peter Maydell, 2022/05/30
- Re: [PULL 000/117] target-arm queue, Richard Henderson, 2022/05/30