summaryrefslogtreecommitdiffstats
path: root/target/arm/translate-vfp.inc.c
diff options
context:
space:
mode:
authorPeter Maydell2019-06-11 17:39:47 +0200
committerPeter Maydell2019-06-13 16:14:05 +0200
commit88c5188ced60e9f2b8cc3af3b9bc4a8031c8c996 (patch)
treede02109a1dbc184ea977e7dd5c69c0c946960ca3 /target/arm/translate-vfp.inc.c
parenttarget/arm: Convert VFP VNMLA to decodetree (diff)
downloadqemu-88c5188ced60e9f2b8cc3af3b9bc4a8031c8c996.tar.gz
qemu-88c5188ced60e9f2b8cc3af3b9bc4a8031c8c996.tar.xz
qemu-88c5188ced60e9f2b8cc3af3b9bc4a8031c8c996.zip
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.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/arm/translate-vfp.inc.c b/target/arm/translate-vfp.inc.c
index 8532bf4abc..a2afe82b34 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);
+}