This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: mips SNaN/QNaN is swapped
On Mar 26, 2003, Richard Henderson <rth at redhat dot com> wrote:
> On Tue, Mar 25, 2003 at 06:46:27AM -0300, Alexandre Oliva wrote:
>> It fixes the very bug I mentioned in my earlier posts.
> Not quite. It moves the bug around.
Hmm... I see the problem in round_for_format.
> I think the cleanest way to correct this is to fix the representation.
> I've briefly tested the following by eye on both x86 and mips.
Thanks, but it doesn't solve the problem of the canonical
representation. To fix that, I only see two alternatives: make
get_canonical_[qs]nan() format-specific entry points, or introduce
strings to be used to create the canonical values.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva at {redhat dot com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva at {lsd dot ic dot unicamp dot br, gnu.org}
Free Software Evangelist Professional serial bug killer