diff options
author | Jason Molenda <jsm@bugshack.cygnus.com> | 1999-09-22 03:28:34 +0000 |
---|---|---|
committer | Jason Molenda <jsm@bugshack.cygnus.com> | 1999-09-22 03:28:34 +0000 |
commit | 3f58899ae80421eb6d2ed3d0d2329986f6e77c66 (patch) | |
tree | ef3cd06b12eee7b8d002704a5cf4fecea06a643d /sim/common/sim-fpu.c | |
parent | ff49b98273f2bad8ff6ec338eee32c6d90113d05 (diff) | |
download | gdb-3f58899ae80421eb6d2ed3d0d2329986f6e77c66.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); |