linux-mips
[Top] [All Lists]

Re: SNaN & QNaN on mips

To: Zhang Fuxin <fxzhang@ict.ac.cn>
Subject: Re: SNaN & QNaN on mips
From: "H . J . Lu" <hjl@lucon.org>
Date: Sun, 3 Feb 2002 22:54:54 -0800
Cc: "linux-mips@oss.sgi.com" <linux-mips@oss.sgi.com>
In-reply-to: <200202040746.g147k0A23002@oss.sgi.com>; from fxzhang@ict.ac.cn on Mon, Feb 04, 2002 at 02:22:48PM +0800
References: <200202040746.g147k0A23002@oss.sgi.com>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.2.5i
On Mon, Feb 04, 2002 at 02:22:48PM +0800, Zhang Fuxin wrote:
> hi,
> 
> Gcc (2.96 20000731,H.J.LU's rh port for mips) think 0x7fc00000 is QNaN and 
> optimize 0.0/0.0 as 0x7fc00000 for single precision ops,while for my cpu
> (maybe most mips cpu) is a SNaN. R4k user's manual and "See Mips Run" both
>  say so.And experiments confirm this.
> 
> Should we correct it?

Yes. Do you have a patch?

Thanks.


H.J.

<Prev in Thread] Current Thread [Next in Thread>