A DESCRIPTION OF THE REQUEST :
Almost all C-compilers available are able to vectorize code, so that simple code in loops for example can be processed in parallel by using the SIMD registers of modern CPUs like SSE1/2 or AltiVec.
Hotspot-server still uses SSE only for batch-procession of fpu-operations and it would be great if hotspot would be also able to optimize this caseses since it sometimes can even double performance.
to archive higher performance on algorythmic code.
EXPECTED VERSUS ACTUAL BEHAVIOR :
code like this should be vectorized:
int a = new int;
for(int i=0; i < a.length; i++)
x += a[i];
the generated code does not make any use of SIMD commands
CUSTOMER SUBMITTED WORKAROUND :
Write C libraries which handle all the complex stuff and write java-code just for the stuff arround itl