target/arm: Use TRANS_FEAT for RAX1
commit2aa469ff5fde3f1c59b14ddf48d58018e2f03982
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 27 May 2022 18:17:48 +0000 (27 11:17 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 30 May 2022 16:05:06 +0000 (30 17:05 +0100)
tree33514db1072986f9bf01428ec1ed160d2f1bbf4b
parent79828dcbf5a497e83d350a2f8f8e61429fc60c89
target/arm: Use TRANS_FEAT for RAX1

The decode for RAX1 sets esz to MO_8, because that's what
we use by default for "no esz present".  We changed that
to MO_64 during translation because it is more logical for
the operation.  However, the esz argument to gen_gvec_rax1
is unused and forces MO_64 within that function, so there
is no need to do it here as well.

Simplify to use gen_gvec_fn_arg_zzz and TRANS_FEAT.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220527181907.189259-36-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