[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 059/117] target/arm: Use TRANS_FEAT for do_perm_pred2
From: |
Peter Maydell |
Subject: |
[PULL 059/117] target/arm: Use TRANS_FEAT for do_perm_pred2 |
Date: |
Mon, 30 May 2022 17:06:10 +0100 |
From: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220527181907.189259-57-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 | 17 +++--------------
1 file changed, 3 insertions(+), 14 deletions(-)
diff --git a/target/arm/translate-sve.c b/target/arm/translate-sve.c
index 413e89b19ca..1e6bcedb9df 100644
--- a/target/arm/translate-sve.c
+++ b/target/arm/translate-sve.c
@@ -2279,20 +2279,9 @@ TRANS_FEAT(UZP2_p, aa64_sve, do_perm_pred3, a, 1,
gen_helper_sve_uzp_p)
TRANS_FEAT(TRN1_p, aa64_sve, do_perm_pred3, a, 0, gen_helper_sve_trn_p)
TRANS_FEAT(TRN2_p, aa64_sve, do_perm_pred3, a, 1, gen_helper_sve_trn_p)
-static bool trans_REV_p(DisasContext *s, arg_rr_esz *a)
-{
- return do_perm_pred2(s, a, 0, gen_helper_sve_rev_p);
-}
-
-static bool trans_PUNPKLO(DisasContext *s, arg_PUNPKLO *a)
-{
- return do_perm_pred2(s, a, 0, gen_helper_sve_punpk_p);
-}
-
-static bool trans_PUNPKHI(DisasContext *s, arg_PUNPKHI *a)
-{
- return do_perm_pred2(s, a, 1, gen_helper_sve_punpk_p);
-}
+TRANS_FEAT(REV_p, aa64_sve, do_perm_pred2, a, 0, gen_helper_sve_rev_p)
+TRANS_FEAT(PUNPKLO, aa64_sve, do_perm_pred2, a, 0, gen_helper_sve_punpk_p)
+TRANS_FEAT(PUNPKHI, aa64_sve, do_perm_pred2, a, 1, gen_helper_sve_punpk_p)
/*
*** SVE Permute - Interleaving Group
--
2.25.1
- [PULL 037/117] target/arm: Use TRANS_FEAT for do_sve2_fn_zzz, (continued)
- [PULL 037/117] target/arm: Use TRANS_FEAT for do_sve2_fn_zzz, Peter Maydell, 2022/05/30
- [PULL 047/117] target/arm: Use TRANS_FEAT for do_shift_imm, Peter Maydell, 2022/05/30
- [PULL 053/117] target/arm: Use TRANS_FEAT for do_adr, Peter Maydell, 2022/05/30
- [PULL 055/117] target/arm: Use TRANS_FEAT for RDFFR, WRFFR, Peter Maydell, 2022/05/30
- [PULL 057/117] target/arm: Use TRANS_FEAT for do_EXT, Peter Maydell, 2022/05/30
- [PULL 038/117] target/arm: Use TRANS_FEAT for RAX1, Peter Maydell, 2022/05/30
- [PULL 044/117] target/arm: Introduce gen_gvec_fn_arg_zzi, Peter Maydell, 2022/05/30
- [PULL 048/117] target/arm: Introduce do_shift_zpzi, Peter Maydell, 2022/05/30
- [PULL 043/117] target/arm: Hoist sve access check through do_sel_z, Peter Maydell, 2022/05/30
- [PULL 050/117] target/arm: Use TRANS_FEAT for do_zpzzz_ool, Peter Maydell, 2022/05/30
- [PULL 059/117] target/arm: Use TRANS_FEAT for do_perm_pred2,
Peter Maydell <=
- [PULL 063/117] target/arm: Use TRANS_FEAT for do_clast_vector, Peter Maydell, 2022/05/30
- [PULL 083/117] target/arm: Implement NOT (prediates) alias, Peter Maydell, 2022/05/30
- [PULL 049/117] target/arm: Use TRANS_FEAT for do_shift_zpzi, Peter Maydell, 2022/05/30
- [PULL 042/117] target/arm: Use TRANS_FEAT for do_zz_dbm, Peter Maydell, 2022/05/30
- [PULL 045/117] target/arm: Use TRANS_FEAT for do_sve2_fn2i, Peter Maydell, 2022/05/30
- [PULL 054/117] target/arm: Use TRANS_FEAT for do_predset, Peter Maydell, 2022/05/30
- [PULL 056/117] target/arm: Use TRANS_FEAT for do_pfirst_pnext, Peter Maydell, 2022/05/30
- [PULL 068/117] target/arm: Use TRANS_FEAT for SPLICE, Peter Maydell, 2022/05/30
- [PULL 062/117] target/arm: Use TRANS_FEAT for do_zip, do_zip_q, Peter Maydell, 2022/05/30
- [PULL 067/117] target/arm: Use TRANS_FEAT for do_last_general, Peter Maydell, 2022/05/30