Patch: gcj optimizations
Tom Tromey
tromey@redhat.com
Tue Oct 16 21:25:00 GMT 2001
Tom> We could also inline things like Math.sin, Math.cos, etc.
Today I implemented these two, which meant enabling a bunch of builtin
function stuff. It's a bit ugly. Still, I'm going to send it in when
my libgcj rebuild/retest is finished.
It turns out that you have to use -funsafe-math-optimizations to get
sin/cos inlining. I imagine implementing `strictfp' (and there is no
concrete plan to do so that I'm aware of) will require us to
generalize bits of gcc in this area. For instance, in a non-strict
context I imagine we can always inline sin or cos.
Tom
More information about the Java-patches
mailing list