target/arm: Use TRANS_FEAT for do_pfirst_pnext
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20220527181907.189259-54-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
ff50265856
commit
d95040e3df
@ -1668,15 +1668,8 @@ static bool do_pfirst_pnext(DisasContext *s, arg_rr_esz *a,
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool trans_PFIRST(DisasContext *s, arg_rr_esz *a)
|
TRANS_FEAT(PFIRST, aa64_sve, do_pfirst_pnext, a, gen_helper_sve_pfirst)
|
||||||
{
|
TRANS_FEAT(PNEXT, aa64_sve, do_pfirst_pnext, a, gen_helper_sve_pnext)
|
||||||
return do_pfirst_pnext(s, a, gen_helper_sve_pfirst);
|
|
||||||
}
|
|
||||||
|
|
||||||
static bool trans_PNEXT(DisasContext *s, arg_rr_esz *a)
|
|
||||||
{
|
|
||||||
return do_pfirst_pnext(s, a, gen_helper_sve_pnext);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*** SVE Element Count Group
|
*** SVE Element Count Group
|
||||||
|
Loading…
x
Reference in New Issue
Block a user