From c2c6d25f0d5eea4f834420870021a8c52db24018 Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Wed, 22 Sep 1999 03:28:34 +0000 Subject: import gdb-1999-09-21 --- sim/common/sim-fpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sim/common/sim-fpu.c') 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); -- cgit v1.2.1