[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 016/117] target/arm: Rename do_zzxz_ool to gen_gvec_ool_arg_zzxz
From: |
Peter Maydell |
Subject: |
[PULL 016/117] target/arm: Rename do_zzxz_ool to gen_gvec_ool_arg_zzxz |
Date: |
Mon, 30 May 2022 17:05:27 +0100 |
From: Richard Henderson <richard.henderson@linaro.org>
Rename the function to match gen_gvec_ool_arg_zzzz,
and move to be adjacent.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220527181907.189259-14-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 | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/target/arm/translate-sve.c b/target/arm/translate-sve.c
index f7367a4f62c..b42df76c697 100644
--- a/target/arm/translate-sve.c
+++ b/target/arm/translate-sve.c
@@ -199,6 +199,12 @@ static bool gen_gvec_ool_arg_zzzz(DisasContext *s,
gen_helper_gvec_4 *fn,
return gen_gvec_ool_zzzz(s, fn, a->rd, a->rn, a->rm, a->ra, data);
}
+static bool gen_gvec_ool_arg_zzxz(DisasContext *s, gen_helper_gvec_4 *fn,
+ arg_rrxr_esz *a)
+{
+ return gen_gvec_ool_zzzz(s, fn, a->rd, a->rn, a->rm, a->ra, a->index);
+}
+
/* Invoke an out-of-line helper on 2 Zregs and a predicate. */
static void gen_gvec_ool_zzp(DisasContext *s, gen_helper_gvec_3 *fn,
int rd, int rn, int pg, int data)
@@ -3820,15 +3826,9 @@ TRANS_FEAT(DOT_zzzz, aa64_sve, gen_gvec_ool_zzzz,
* SVE Multiply - Indexed
*/
-static bool do_zzxz_ool(DisasContext *s, arg_rrxr_esz *a,
- gen_helper_gvec_4 *fn)
-{
- return gen_gvec_ool_zzzz(s, fn, a->rd, a->rn, a->rm, a->ra, a->index);
-}
-
#define DO_RRXR(NAME, FUNC) \
static bool NAME(DisasContext *s, arg_rrxr_esz *a) \
- { return do_zzxz_ool(s, a, FUNC); }
+ { return gen_gvec_ool_arg_zzxz(s, FUNC, a); }
DO_RRXR(trans_SDOT_zzxw_s, gen_helper_gvec_sdot_idx_b)
DO_RRXR(trans_SDOT_zzxw_d, gen_helper_gvec_sdot_idx_h)
@@ -3840,7 +3840,7 @@ static bool trans_SUDOT_zzxw_s(DisasContext *s,
arg_rrxr_esz *a)
if (!dc_isar_feature(aa64_sve_i8mm, s)) {
return false;
}
- return do_zzxz_ool(s, a, gen_helper_gvec_sudot_idx_b);
+ return gen_gvec_ool_arg_zzxz(s, gen_helper_gvec_sudot_idx_b, a);
}
static bool trans_USDOT_zzxw_s(DisasContext *s, arg_rrxr_esz *a)
@@ -3848,7 +3848,7 @@ static bool trans_USDOT_zzxw_s(DisasContext *s,
arg_rrxr_esz *a)
if (!dc_isar_feature(aa64_sve_i8mm, s)) {
return false;
}
- return do_zzxz_ool(s, a, gen_helper_gvec_usdot_idx_b);
+ return gen_gvec_ool_arg_zzxz(s, gen_helper_gvec_usdot_idx_b, a);
}
#undef DO_RRXR
--
2.25.1
- [PULL 001/117] docs/system/arm: Add FEAT_HCX to list of emulated features, (continued)
- [PULL 001/117] docs/system/arm: Add FEAT_HCX to list of emulated features, Peter Maydell, 2022/05/30
- [PULL 007/117] target/arm: Move null function and sve check into gen_gvec_ool_zzz, Peter Maydell, 2022/05/30
- [PULL 015/117] target/arm: Use TRANS_FEAT for gen_gvec_ool_arg_zzzz, Peter Maydell, 2022/05/30
- [PULL 006/117] target/arm: Use TRANS_FEAT for gen_gvec_ool_zz, Peter Maydell, 2022/05/30
- [PULL 002/117] target/arm/hvf: Include missing "cpregs.h", Peter Maydell, 2022/05/30
- [PULL 009/117] target/arm: Use TRANS_FEAT for gen_gvec_ool_arg_zzz, Peter Maydell, 2022/05/30
- [PULL 019/117] target/arm: Use TRANS_FEAT for do_sve2_zzzz_data, Peter Maydell, 2022/05/30
- [PULL 023/117] target/arm: Introduce gen_gvec_ool_arg_zpz, Peter Maydell, 2022/05/30
- [PULL 008/117] target/arm: Introduce gen_gvec_ool_arg_zzz, Peter Maydell, 2022/05/30
- [PULL 014/117] target/arm: Use TRANS_FEAT for do_sve2_zzzz_ool, Peter Maydell, 2022/05/30
- [PULL 016/117] target/arm: Rename do_zzxz_ool to gen_gvec_ool_arg_zzxz,
Peter Maydell <=
- [PULL 017/117] target/arm: Use TRANS_FEAT for gen_gvec_ool_arg_zzxz, Peter Maydell, 2022/05/30
- [PULL 018/117] target/arm: Use TRANS_FEAT for do_sve2_zzz_data, Peter Maydell, 2022/05/30
- [PULL 004/117] target/arm: Introduce TRANS, TRANS_FEAT, Peter Maydell, 2022/05/30
- [PULL 021/117] target/arm: Use TRANS_FEAT for USDOT_zzzz, Peter Maydell, 2022/05/30
- [PULL 022/117] target/arm: Move null function and sve check into gen_gvec_ool_zzp, Peter Maydell, 2022/05/30
- [PULL 020/117] target/arm: Use TRANS_FEAT for do_sve2_zzw_data, Peter Maydell, 2022/05/30
- [PULL 025/117] target/arm: Use TRANS_FEAT for do_sve2_zpz_data, Peter Maydell, 2022/05/30
- [PULL 030/117] target/arm: Use TRANS_FEAT for gen_gvec_ool_arg_zpzz, Peter Maydell, 2022/05/30
- [PULL 029/117] target/arm: Introduce gen_gvec_ool_arg_zpzz, Peter Maydell, 2022/05/30
- [PULL 024/117] target/arm: Use TRANS_FEAT for gen_gvec_ool_arg_zpz, Peter Maydell, 2022/05/30