[Mono-devel-list] Bug in Runtime or MCS?

yoros yoros at wanadoo.es
Thu Apr 10 10:49:20 EDT 2003

> On 04/10/03 yoros at wanadoo.es wrote:
> > I was working on a bug that makes double comparison between NAN and
> > others don't work properly.
> There is already a bug filed about this issue:
> http://bugzilla.ximian.com/show_bug.cgi?id=39314
> > In MONO-JIT it fails all ">=" and "<=". In MINI, "<=" works OK but ">="
> > doesn't work in code generated by MCS and all works OK in code generated
> > with CSC.
> > 
> > Is there an error in MCS or in the JIT?
> It is a bug in mcs. The old jit is also buggy, but it won't get fixed:
> use mini instead.

When compiling, for these comparisons, MCS generates "blt" and "bgt" and CSC generates "blt.un.s" and "bgt.un.s".

In MINI only fails "bgt" (NAN <= 1.0 works right for this comparison in MINI) and works right "bgt.un.s" and "blt.un.s".

When I arrive home, I'll post my tests to the list.




Horas ilimitadas para leer y enviar correos con Tarifa Plana Wanadoo 
¡¡ desde las 3 de la tarde!!
Compruébalo en http://www.wanadoo.es/acceso-internet

More information about the Mono-devel-list mailing list