aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2022-05-27 11:18:34 -0700
committerPeter Maydell <peter.maydell@linaro.org>2022-05-30 17:05:09 +0100
commit29693f5f97c716718f05e601ea2b954b4a1236de (patch)
tree9620931f31bc451770b8598e91b3d02f9f2a1767
parent738b679cc961bd086f14d7d7e3f4be116a719810 (diff)
downloadqemu-29693f5f97c716718f05e601ea2b954b4a1236de.zip
qemu-29693f5f97c716718f05e601ea2b954b4a1236de.tar.gz
qemu-29693f5f97c716718f05e601ea2b954b4a1236de.tar.bz2
target/arm: Use TRANS_FEAT for SEL_zpzz
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20220527181907.189259-82-richard.henderson@linaro.org Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--target/arm/translate-sve.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/target/arm/translate-sve.c b/target/arm/translate-sve.c
index b6b5980..a040d69 100644
--- a/target/arm/translate-sve.c
+++ b/target/arm/translate-sve.c
@@ -795,10 +795,7 @@ static gen_helper_gvec_4 * const udiv_fns[4] = {
};
TRANS_FEAT(UDIV_zpzz, aa64_sve, gen_gvec_ool_arg_zpzz, udiv_fns[a->esz], a, 0)
-static bool trans_SEL_zpzz(DisasContext *s, arg_rprr_esz *a)
-{
- return do_sel_z(s, a->rd, a->rn, a->rm, a->pg, a->esz);
-}
+TRANS_FEAT(SEL_zpzz, aa64_sve, do_sel_z, a->rd, a->rn, a->rm, a->pg, a->esz)
/*
*** SVE Integer Arithmetic - Unary Predicated Group