From: Zoltan Varga <var...@gmail.com>
Date: Tue, 16 Mar 2010 08:24:14 +0100

>   I think this is due to a rounding problem on sparc
> in the OP_FCONV_TO_I implementation in mini-sparc.c.

For integer conversions, the Sparc FPU always rounds towards zero, no
matter what is set in the floating point control register.

On overflow, if the source operand is non-negative the result written
is 2147483647.  Else if the source operand is negative the result
written is -2147483648.

I suspect, like powerpc, that this test should simply be disabled
on sparc.
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to