[Mono-list] Announce: A .NET assembly -> native code generation tool (ala ngen for MONO)

Fergus Henderson fjh@cs.mu.oz.au
Thu, 1 Aug 2002 12:56:28 +1000


On 29-Jul-2002, Paolo Molaro <lupus@ximian.com> wrote:
> My main concern with using gcc is that we might not be able to constrain
> the gcc optimizer to obey the CLR rules (Zoltan notes the problem with
> division by 0, for example).

I think this is something which could be addressed by adding the
appropriate option or options to GCC, and making any problematic
optimizations conditional on these option(s).  Note that GCC already
needs to obey the Java/JVM rules -- this is required for gcj.
I don't think the CLR rules are any harder, are they?

In pratice this is not likely to be a significant issue anyway,
since I would expect few .NET programs to really rely on strict
adherence to these rules.  If problems do occur, they can be
addressed as they come up.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.