review (S) for 6978249: spill between cpu and fpu registers when those moves are fast
Tom Rodriguez
tom.rodriguez at oracle.com
Wed Aug 18 15:19:14 PDT 2010
http://cr.openjdk.java.net/~never/6978249
6978249: spill between cpu and fpu registers when those moves are fast
Reviewed-by:
On some architectures moves between CPU and FPU registers are fast so
they can be used for spilling instead of the stack. This change adds
a new flag UseFPUForSpilling and sets up the spill reg masks to allow
this when the flag is on. Currently for Nehalem class chips it seems
to be a uniform win but we'll keep it under AggressiveOpts for now.
There are some minor changes to spilling logic that are currently
guarded until we determine that they are generally a good idea. I
also moved the logic for PrintFlagsFinal since the initialization of
several subsystems may change some flag values which will be missed by
the current location. Tested with scimark, ctw and the nsk tests on
32 and 64 bit.
More information about the hotspot-compiler-dev
mailing list