* ppc-instructions (Disabled_Exponent_Underflow): Increment
authorGeoffrey Keating <geoffk@geoffk.org>
Sat, 25 Mar 2000 18:45:41 +0000 (18:45 +0000)
committerGeoffrey Keating <geoffk@geoffk.org>
Sat, 25 Mar 2000 18:45:41 +0000 (18:45 +0000)
the exponent when denormalizing.

sim/ppc/ChangeLog
sim/ppc/ppc-instructions

index 2b324d54733c74b2e32c48174bd35913cccbc48b..65ff71e3ae92bf86ef017aba2515fd2953688bca 100644 (file)
@@ -1,3 +1,8 @@
+2000-03-25  Geoff Keating  <geoffk@cygnus.com>
+
+       * ppc-instructions (Disabled_Exponent_Underflow): Increment
+       the exponent when denormalizing.
+
 Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
 
        * configure: Regenerated to track ../common/aclocal.m4 changes.
index cfbac643e3a524b014a201789fa3a36d21680845..b9a3287e3886d1174b85c0e64b6ffa2277a09db3 100644 (file)
@@ -4282,7 +4282,7 @@ void::function::invalid_zero_divide_operation:cpu *processor, unsigned_word cia,
          }
            /* G|R|X == zero from above */
            while (exp < -126) {
-             exp = exp - 1;
+             exp = exp + 1;
              frac_grx = (INSERTED64(EXTRACTED64(frac_grx, 0, 54), 1, 55)
                          | MASKED64(frac_grx, 55, 55));
            }