aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-03 19:09:29 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-03 19:09:29 +0000
commitc9fb531ab2a78e731a0b450017fb5e92de79f8f8 (patch)
treeadfb3c667f53b14c795f25e33362084c8976a70a /target-arm/translate.c
parentFix rotri_i64 typo. (diff)
downloadqemu-kvm-c9fb531ab2a78e731a0b450017fb5e92de79f8f8.tar.gz
qemu-kvm-c9fb531ab2a78e731a0b450017fb5e92de79f8f8.tar.bz2
qemu-kvm-c9fb531ab2a78e731a0b450017fb5e92de79f8f8.zip
VFP fnmsc negative zero fix.
Signed-off-by: Paul Brook <paul@codesourcery.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5610 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-arm/translate.c')
-rw-r--r--target-arm/translate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-arm/translate.c b/target-arm/translate.c
index e6c1e4614..ab8cee5cd 100644
--- a/target-arm/translate.c
+++ b/target-arm/translate.c
@@ -3057,9 +3057,9 @@ static int disas_vfp_insn(CPUState * env, DisasContext *s, uint32_t insn)
break;
case 3: /* nmsc: -fd - (fn * fm) */
gen_vfp_mul(dp);
- gen_mov_F1_vreg(dp, rd);
- gen_vfp_add(dp);
gen_vfp_neg(dp);
+ gen_mov_F1_vreg(dp, rd);
+ gen_vfp_sub(dp);
break;
case 4: /* mul: fn * fm */
gen_vfp_mul(dp);