[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 073/117] target/arm: Use TRANS_FEAT for MUL_zzi
From: |
Peter Maydell |
Subject: |
[PULL 073/117] target/arm: Use TRANS_FEAT for MUL_zzi |
Date: |
Mon, 30 May 2022 17:06:24 +0100 |
From: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220527181907.189259-71-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 | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/target/arm/translate-sve.c b/target/arm/translate-sve.c
index d44b24e9883..c0781ecf601 100644
--- a/target/arm/translate-sve.c
+++ b/target/arm/translate-sve.c
@@ -3315,15 +3315,7 @@ static bool trans_SUBR_zzi(DisasContext *s, arg_rri_esz
*a)
return true;
}
-static bool trans_MUL_zzi(DisasContext *s, arg_rri_esz *a)
-{
- if (sve_access_check(s)) {
- unsigned vsz = vec_full_reg_size(s);
- tcg_gen_gvec_muli(a->esz, vec_full_reg_offset(s, a->rd),
- vec_full_reg_offset(s, a->rn), a->imm, vsz, vsz);
- }
- return true;
-}
+TRANS_FEAT(MUL_zzi, aa64_sve, gen_gvec_fn_arg_zzi, tcg_gen_gvec_muli, a)
static bool do_zzi_sat(DisasContext *s, arg_rri_esz *a, bool u, bool d)
{
--
2.25.1
- [PULL 088/117] target/arm: Rename do_zzz_fp to gen_gvec_ool_fpst_arg_zzz, (continued)
- [PULL 088/117] target/arm: Rename do_zzz_fp to gen_gvec_ool_fpst_arg_zzz, Peter Maydell, 2022/05/30
- [PULL 091/117] target/arm: Use TRANS_FEAT for FTMAD, Peter Maydell, 2022/05/30
- [PULL 093/117] target/arm: Use TRANS_FEAT for do_reduce, Peter Maydell, 2022/05/30
- [PULL 058/117] target/arm: Use TRANS_FEAT for do_perm_pred3, Peter Maydell, 2022/05/30
- [PULL 090/117] target/arm: Use TRANS_FEAT for FMUL_zzx, Peter Maydell, 2022/05/30
- [PULL 046/117] target/arm: Use TRANS_FEAT for do_vpz_ool, Peter Maydell, 2022/05/30
- [PULL 052/117] target/arm: Use TRANS_FEAT for do_index, Peter Maydell, 2022/05/30
- [PULL 060/117] target/arm: Move sve zip high_ofs into simd_data, Peter Maydell, 2022/05/30
- [PULL 061/117] target/arm: Use gen_gvec_ool_arg_zzz for do_zip, do_zip_q, Peter Maydell, 2022/05/30
- [PULL 070/117] target/arm: Use TRANS_FEAT for do_sve2_ppzz_flags, Peter Maydell, 2022/05/30
- [PULL 073/117] target/arm: Use TRANS_FEAT for MUL_zzi,
Peter Maydell <=
- [PULL 074/117] target/arm: Reject dup_i w/ shifted byte early, Peter Maydell, 2022/05/30
- [PULL 094/117] target/arm: Use TRANS_FEAT for FRECPE, FRSQRTE, Peter Maydell, 2022/05/30
- [PULL 095/117] target/arm: Expand frint_fns for MO_8, Peter Maydell, 2022/05/30
- [PULL 096/117] target/arm: Rename do_zpz_ptr to gen_gvec_ool_fpst_arg_zpz, Peter Maydell, 2022/05/30
- [PULL 082/117] target/arm: Move sve check into gen_gvec_fn_ppp, Peter Maydell, 2022/05/30
- [PULL 084/117] target/arm: Use TRANS_FEAT for SEL_zpzz, Peter Maydell, 2022/05/30
- [PULL 086/117] target/arm: Use TRANS_FEAT for FMLA, Peter Maydell, 2022/05/30
- [PULL 092/117] target/arm: Move null function and sve check into do_reduce, Peter Maydell, 2022/05/30
- [PULL 064/117] target/arm: Use TRANS_FEAT for do_clast_fp, Peter Maydell, 2022/05/30
- [PULL 075/117] target/arm: Reject add/sub w/ shifted byte early, Peter Maydell, 2022/05/30