diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-18 14:33:24 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-18 14:33:24 +0000 |
commit | f090c9d4ad5812fb92843d6470a1111c15190c4c (patch) | |
tree | d87c6a10eeefb28eb66dc88ebee02a92eabe2812 /target-m68k/helper.c | |
parent | b881c2c6e774d40b33980f00f830431deed9e896 (diff) | |
download | qemu-f090c9d4ad5812fb92843d6470a1111c15190c4c.zip qemu-f090c9d4ad5812fb92843d6470a1111c15190c4c.tar.gz qemu-f090c9d4ad5812fb92843d6470a1111c15190c4c.tar.bz2 |
Add strict checking mode for softfp code.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3688 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-m68k/helper.c')
-rw-r--r-- | target-m68k/helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-m68k/helper.c b/target-m68k/helper.c index 460ef3c..f6b0cd6 100644 --- a/target-m68k/helper.c +++ b/target-m68k/helper.c @@ -255,7 +255,7 @@ float64 helper_sub_cmpf64(CPUM68KState *env, float64 src0, float64 src1) /* +/-inf compares equal against itself, but sub returns nan. */ if (!float64_is_nan(src0) && !float64_is_nan(src1)) { - res = 0; + res = float64_zero; if (float64_lt_quiet(src0, res, &env->fp_status)) res = float64_chs(res); } |