SuperWord optimization

James Walsh groundskeeperwiley at yahoo.com
Fri Dec 19 19:23:36 PST 2008


I have some basic questions about this optimization.  Can anyone tell me what SSE instructions are supported by SuperWord?  I've run a very simple program that should be accelerated by the packed move and arithmetic opcodes available in SSE but the code generated appears to be MMX.  I've run the program with a 1.7 debug build with -XX:+TraceSuperWord and -XX:+Verbose and from the resulting data printed out it looks like SuperWord does recognize that my program should be optimized.  Yet in the end the arithmetic optimizations are rejected as unsupported and the load/stores are rejected as unproductive.  I looked in the file called /src/cpu/x86/vm/assembler_x86 and the only SSE opcode that I recognize is MOVAPS(xmm,xmm).  Does the compiler know how to emit ADDPS/SUBPS/MULPS/DIVPS opcodes and I'm just looking in the wrong spot?


      



More information about the hotspot-dev mailing list