diff options
author | Peter Maydell | 2019-06-11 17:39:48 +0200 |
---|---|---|
committer | Peter Maydell | 2019-06-13 16:14:05 +0200 |
commit | 8fec9a119264b7936503abce3c106fad7e3ccb76 (patch) | |
tree | 27066ed62970e82a05fe26b2467104901e292a08 /target/arm/translate-vfp.inc.c | |
parent | target/arm: Convert VADD to decodetree (diff) | |
download | qemu-8fec9a119264b7936503abce3c106fad7e3ccb76.tar.gz qemu-8fec9a119264b7936503abce3c106fad7e3ccb76.tar.xz qemu-8fec9a119264b7936503abce3c106fad7e3ccb76.zip |
target/arm: Convert VSUB to decodetree
Convert the VSUB 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 14aeb25f59..12da3b8acb 100644 --- a/target/arm/translate-vfp.inc.c +++ b/target/arm/translate-vfp.inc.c @@ -1461,3 +1461,13 @@ static bool trans_VADD_dp(DisasContext *s, arg_VADD_sp *a) { return do_vfp_3op_dp(s, gen_helper_vfp_addd, a->vd, a->vn, a->vm, false); } + +static bool trans_VSUB_sp(DisasContext *s, arg_VSUB_sp *a) +{ + return do_vfp_3op_sp(s, gen_helper_vfp_subs, a->vd, a->vn, a->vm, false); +} + +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); +} |