Commit c9fb531ab2a78e731a0b450017fb5e92de79f8f8

Authored by pbrook
1 parent de3526b2

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
Showing 1 changed file with 2 additions and 2 deletions
target-arm/translate.c
... ... @@ -3057,9 +3057,9 @@ static int disas_vfp_insn(CPUState * env, DisasContext *s, uint32_t insn)
3057 3057 break;
3058 3058 case 3: /* nmsc: -fd - (fn * fm) */
3059 3059 gen_vfp_mul(dp);
3060   - gen_mov_F1_vreg(dp, rd);
3061   - gen_vfp_add(dp);
3062 3060 gen_vfp_neg(dp);
  3061 + gen_mov_F1_vreg(dp, rd);
  3062 + gen_vfp_sub(dp);
3063 3063 break;
3064 3064 case 4: /* mul: fn * fm */
3065 3065 gen_vfp_mul(dp);
... ...