Request for reviews (M): 7059034: Use movxtod/movdtox on T4 (original) (raw)

Vladimir Kozlov vladimir.kozlov at oracle.com
Thu Jul 7 09:01:37 PDT 2011


Thank you, Christian

Yes, I will definitely fix it.

thanks, Vladimir

On 7/7/11 3:24 AM, Christian Thalinger wrote:

On Jul 7, 2011, at 1:04 AM, Vladimir Kozlov wrote:

http://cr.openjdk.java.net/~kvn/7059034/webrev

Fixed 7059034: Use movxtod/movdtox on T4 Currently VM uses stack to move data between general and float registers on Sparc. Use new VIS3 mov instructions on T4 for such moves. I removed RF30,RF31 from dfltlowreg since they used as temps (see line 412). Also fixed float<->integer conversion instructions since they used incorrect Width for float register encoding. For example, encoding failed for next instr ftoi(FloatRegisterImpl::D,F4,F1) and fitof(FloatRegisterImpl::D,F1,F8). Tested with CTW, nsk. I attached microbenchmark test to the bug report. I see you did some spaces cleanup in sparc.ad. Could you also do that with the new code you add to src/cpu/sparc/vm/vmversionsparc.cpp? E.g. if( x ) => if (x) and UseVIS=x => UseVIS = x. Otherwise this looks good. -- Christian



More information about the hotspot-compiler-dev mailing list