target/arm: Use TRANS_FEAT for do_clast_general
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20220527181907.189259-63-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
ac4fb247fb
commit
c673404a63
@ -2575,15 +2575,8 @@ static bool do_clast_general(DisasContext *s, arg_rpr_esz *a, bool before)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool trans_CLASTA_r(DisasContext *s, arg_rpr_esz *a)
|
TRANS_FEAT(CLASTA_r, aa64_sve, do_clast_general, a, false)
|
||||||
{
|
TRANS_FEAT(CLASTB_r, aa64_sve, do_clast_general, a, true)
|
||||||
return do_clast_general(s, a, false);
|
|
||||||
}
|
|
||||||
|
|
||||||
static bool trans_CLASTB_r(DisasContext *s, arg_rpr_esz *a)
|
|
||||||
{
|
|
||||||
return do_clast_general(s, a, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Compute LAST for a scalar. */
|
/* Compute LAST for a scalar. */
|
||||||
static TCGv_i64 do_last_scalar(DisasContext *s, int esz,
|
static TCGv_i64 do_last_scalar(DisasContext *s, int esz,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user