diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2019-06-11 16:39:47 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2019-06-13 15:14:05 +0100 |
commit | 88c5188ced60e9f2b8cc3af3b9bc4a8031c8c996 (patch) | |
tree | de02109a1dbc184ea977e7dd5c69c0c946960ca3 /target/arm/translate-vfp.inc.c | |
parent | 8a483533adc1bdc2decb8f456dbe930a2d245a8b (diff) | |
download | qemu-88c5188ced60e9f2b8cc3af3b9bc4a8031c8c996.zip qemu-88c5188ced60e9f2b8cc3af3b9bc4a8031c8c996.tar.gz qemu-88c5188ced60e9f2b8cc3af3b9bc4a8031c8c996.tar.bz2 |
target/arm: Convert VMUL to decodetree
Convert the VMUL 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 8532bf4..a2afe82 100644 --- a/target/arm/translate-vfp.inc.c +++ b/target/arm/translate-vfp.inc.c @@ -1417,3 +1417,13 @@ static bool trans_VNMLA_dp(DisasContext *s, arg_VNMLA_sp *a) { return do_vfp_3op_dp(s, gen_VNMLA_dp, a->vd, a->vn, a->vm, true); } + +static bool trans_VMUL_sp(DisasContext *s, arg_VMUL_sp *a) +{ + return do_vfp_3op_sp(s, gen_helper_vfp_muls, a->vd, a->vn, a->vm, false); +} + +static bool trans_VMUL_dp(DisasContext *s, arg_VMUL_sp *a) +{ + return do_vfp_3op_dp(s, gen_helper_vfp_muld, a->vd, a->vn, a->vm, false); +} |