------- Comment #4 from christian dot bruel at st dot com  2007-01-31 13:47 
-------
Hereattached a patch to fix a few problems:

1) Rounding to nearest must be infinity if the "infinitely precise result has a
magniture at least 2 exp Emax (2-2exp-p)" (ansi 754/1985 sect 4.1). The
implementation for addsf3 and adddf3 returned a NaN.
2) Infinity in divsf3.S was not set (case of 1.0/0.0).

2007-01-29  Christian Bruel  <[EMAIL PROTECTED]>

        * config/sh/IEEE-754/m3/adddf3.S: Fix inf mantissa.
        * config/sh/IEEE-754/m3/addsf3.S: Likewise.
        * config/sh/IEEE-754/m3/divsf3.S: Intialize xff000000 label.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29845

Reply via email to