[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 063/117] target/arm: Use TRANS_FEAT for do_clast_vector
From: |
Peter Maydell |
Subject: |
[PULL 063/117] target/arm: Use TRANS_FEAT for do_clast_vector |
Date: |
Mon, 30 May 2022 17:06:14 +0100 |
From: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220527181907.189259-61-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 | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/target/arm/translate-sve.c b/target/arm/translate-sve.c
index 7c9deb267fa..51358667984 100644
--- a/target/arm/translate-sve.c
+++ b/target/arm/translate-sve.c
@@ -2492,15 +2492,8 @@ static bool do_clast_vector(DisasContext *s,
arg_rprr_esz *a, bool before)
return true;
}
-static bool trans_CLASTA_z(DisasContext *s, arg_rprr_esz *a)
-{
- return do_clast_vector(s, a, false);
-}
-
-static bool trans_CLASTB_z(DisasContext *s, arg_rprr_esz *a)
-{
- return do_clast_vector(s, a, true);
-}
+TRANS_FEAT(CLASTA_z, aa64_sve, do_clast_vector, a, false)
+TRANS_FEAT(CLASTB_z, aa64_sve, do_clast_vector, a, true)
/* Compute CLAST for a scalar. */
static void do_clast_scalar(DisasContext *s, int esz, int pg, int rm,
--
2.25.1
- [PULL 047/117] target/arm: Use TRANS_FEAT for do_shift_imm, (continued)
- [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, 2022/05/30
- [PULL 063/117] target/arm: Use TRANS_FEAT for do_clast_vector,
Peter Maydell <=
- [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
- [PULL 069/117] target/arm: Use TRANS_FEAT for do_ppzz_flags, Peter Maydell, 2022/05/30