fpgnuib.c (__floatsidf): Don't rely on signed overflow.
2005-09-18 Paul Brook <paul@codesourcery.com> * config/m68k/fpgnuib.c (__floatsidf): Don't rely on signed overflow. From-SVN: r104383
This commit is contained in:
parent
b1e8be1060
commit
798d7d9d13
@ -1,3 +1,7 @@
|
||||
2005-09-18 Paul Brook <paul@codesourcery.com>
|
||||
|
||||
* config/m68k/fpgnuib.c (__floatsidf): Don't rely on signed overflow.
|
||||
|
||||
2005-09-17 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* tree-pass.h, tree-flow.h, tree-ssa-dce.c: Revert last change.
|
||||
|
@ -121,7 +121,7 @@ __floatsidf (long a1)
|
||||
if (a1 < 0)
|
||||
{
|
||||
sign = SIGNBIT;
|
||||
a1 = -a1;
|
||||
a1 = (long)-(unsigned long)a1;
|
||||
if (a1 < 0)
|
||||
{
|
||||
dl.l.upper = SIGNBIT | ((32 + EXCESSD) << 20L);
|
||||
|
Loading…
Reference in New Issue
Block a user