Patch: gcj optimizations

Bryce McKinlay bryce@waitaki.otago.ac.nz
Sun Oct 21 23:48:00 GMT 2001


Andrew Haley wrote:

>> So, perhaps we need a flag to control whether the FP Math.* functions 
> > can be inlined (or replaced with system math lib calls which is what 
> > will actually happen in some cases), which we can then turn on/off in 
> > the libjava configure?
>
>I don't get this.  We need class StrictMath to do what class Math did
>originally, and calls to class Math to call builtins where
>appropriate, no?
>

Right, but the question is whether the builtins meet the requirements of 
the (relaxed) Math.* spec on all platforms. They do on x86, but on all 
targets that libjava supports?

regards

Bryce




More information about the Java-patches mailing list