diff options
author | Jason Molenda <jmolenda@apple.com> | 1999-09-22 03:28:34 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 1999-09-22 03:28:34 +0000 |
commit | c2c6d25f0d5eea4f834420870021a8c52db24018 (patch) | |
tree | f4b3d5e9e3207fa8118db4085f9c6a0cbc2bdaf6 /sim/common/sim-fpu.c | |
parent | 54af6ff67571ba569b94e26d558d02f9955e6844 (diff) | |
download | binutils-gdb-c2c6d25f0d5eea4f834420870021a8c52db24018.tar.gz |
import gdb-1999-09-21
Diffstat (limited to 'sim/common/sim-fpu.c')
-rw-r--r-- | sim/common/sim-fpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/common/sim-fpu.c b/sim/common/sim-fpu.c index abf746a9b68..99381e06b17 100644 --- a/sim/common/sim-fpu.c +++ b/sim/common/sim-fpu.c @@ -541,7 +541,7 @@ i2fpu (sim_fpu *f, signed64 i, int is_64bit) { do { - f->fraction >>= 1; + f->fraction = (f->fraction >> 1) | (f->fraction & 1); f->normal_exp += 1; } while (f->fraction >= IMPLICIT_2); |