mips SNaN/QNaN is swapped

Alexandre Oliva aoliva@redhat.com
Tue Apr 1 14:13:00 GMT 2003


On Apr  1, 2003, Richard Henderson <rth@redhat.com> wrote:

> You've missed the needed change to real_identical.  In this case,
> if canonical, you should ignore the significand.  This implies a
> needed change to real_hash as well.

> And further implies that canonical should ignore the existing value
> of sig.

This revised patch corrects the two problems above.  Ok to install if
it bootstraps on athlon-pc-linux-gnu and generates the correct bit
patterns on native, x-mips64-linux and x-mips-sgi-irix6.5?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mips-qnan.patch
Type: text/x-patch
Size: 17912 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030401/d90140ca/attachment.bin>
-------------- next part --------------

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


More information about the Gcc-patches mailing list