target/arm: Use TRANS_FEAT for DO_FP3
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20220527181907.189259-87-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
532724e439
commit
bdd4ce0d0e
@ -3799,14 +3799,11 @@ static bool trans_FADDA(DisasContext *s, arg_rprr_esz *a)
|
||||
*/
|
||||
|
||||
#define DO_FP3(NAME, name) \
|
||||
static bool trans_##NAME(DisasContext *s, arg_rrr_esz *a) \
|
||||
{ \
|
||||
static gen_helper_gvec_3_ptr * const fns[4] = { \
|
||||
static gen_helper_gvec_3_ptr * const name##_fns[4] = { \
|
||||
NULL, gen_helper_gvec_##name##_h, \
|
||||
gen_helper_gvec_##name##_s, gen_helper_gvec_##name##_d \
|
||||
}; \
|
||||
return gen_gvec_fpst_arg_zzz(s, fns[a->esz], a, 0); \
|
||||
}
|
||||
TRANS_FEAT(NAME, aa64_sve, gen_gvec_fpst_arg_zzz, name##_fns[a->esz], a, 0)
|
||||
|
||||
DO_FP3(FADD_zzz, fadd)
|
||||
DO_FP3(FSUB_zzz, fsub)
|
||||
|
Loading…
Reference in New Issue
Block a user