target/arm: Use TRANS_FEAT for USDOT_zzzz
This is the last direct user of tcg_gen_gvec_4_ool. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20220527181907.189259-19-richard.henderson@linaro.org Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
615f19fefb
commit
8740d69416
@ -8044,21 +8044,8 @@ static gen_helper_gvec_4 * const sqrdcmlah_fns[] = {
|
||||
TRANS_FEAT(SQRDCMLAH_zzzz, aa64_sve2, gen_gvec_ool_zzzz,
|
||||
sqrdcmlah_fns[a->esz], a->rd, a->rn, a->rm, a->ra, a->rot)
|
||||
|
||||
static bool trans_USDOT_zzzz(DisasContext *s, arg_USDOT_zzzz *a)
|
||||
{
|
||||
if (a->esz != 2 || !dc_isar_feature(aa64_sve_i8mm, s)) {
|
||||
return false;
|
||||
}
|
||||
if (sve_access_check(s)) {
|
||||
unsigned vsz = vec_full_reg_size(s);
|
||||
tcg_gen_gvec_4_ool(vec_full_reg_offset(s, a->rd),
|
||||
vec_full_reg_offset(s, a->rn),
|
||||
vec_full_reg_offset(s, a->rm),
|
||||
vec_full_reg_offset(s, a->ra),
|
||||
vsz, vsz, 0, gen_helper_gvec_usdot_b);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
TRANS_FEAT(USDOT_zzzz, aa64_sve_i8mm, gen_gvec_ool_arg_zzzz,
|
||||
a->esz == 2 ? gen_helper_gvec_usdot_b : NULL, a, 0)
|
||||
|
||||
TRANS_FEAT(AESMC, aa64_sve2_aes, gen_gvec_ool_zz,
|
||||
gen_helper_crypto_aesmc, a->rd, a->rd, a->decrypt)
|
||||
|
Loading…
Reference in New Issue
Block a user