diff options
author | Peter Maydell | 2019-06-11 17:39:48 +0200 |
---|---|---|
committer | Peter Maydell | 2019-06-13 16:14:05 +0200 |
commit | 519ee7ae31e050eb0ff9ad35c213f0bd7ab1c03e (patch) | |
tree | d28482774c2cc078d256101495f53675f65b7155 /target/arm/translate-vfp.inc.c | |
parent | target/arm: Convert VSUB to decodetree (diff) | |
download | qemu-519ee7ae31e050eb0ff9ad35c213f0bd7ab1c03e.tar.gz qemu-519ee7ae31e050eb0ff9ad35c213f0bd7ab1c03e.tar.xz qemu-519ee7ae31e050eb0ff9ad35c213f0bd7ab1c03e.zip |
target/arm: Convert VDIV to decodetree
Convert the VDIV instruction to decodetree.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/arm/translate-vfp.inc.c')
-rw-r--r-- | target/arm/translate-vfp.inc.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/target/arm/translate-vfp.inc.c b/target/arm/translate-vfp.inc.c index 12da3b8acb..6af99605d5 100644 --- a/target/arm/translate-vfp.inc.c +++ b/target/arm/translate-vfp.inc.c @@ -1471,3 +1471,13 @@ static bool trans_VSUB_dp(DisasContext *s, arg_VSUB_sp *a) { return do_vfp_3op_dp(s, gen_helper_vfp_subd, a->vd, a->vn, a->vm, false); } + +static bool trans_VDIV_sp(DisasContext *s, arg_VDIV_sp *a) +{ + return do_vfp_3op_sp(s, gen_helper_vfp_divs, a->vd, a->vn, a->vm, false); +} + +static bool trans_VDIV_dp(DisasContext *s, arg_VDIV_sp *a) +{ + return do_vfp_3op_dp(s, gen_helper_vfp_divd, a->vd, a->vn, a->vm, false); +} |