This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: gcj optimizations


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]