Request for reviews (M): 6532536: Optimize arraycopy stubs for Intel cpus

Vladimir Kozlov Vladimir.Kozlov at Sun.COM
Tue Oct 14 08:21:23 PDT 2008


http://webrev.invokedynamic.info/kvn/6532536/index.html

Fixed 6532536: Optimize arraycopy stubs for Intel cpus

Problem:
VM still uses MMX copy instructions in arraycopy stubs
on newest cpus.

Solution:
- Use SSE2 movdqu in arraycopy stubs on newest Intel's cpus since
   the instruction performance was greatly improved. It allows
   to skip the code which align a copy source address.
- Use SSE2 movq instruction instead of MMX on Intel's Core2 cpus.
- Add CPUID check for newest Intel's cpus.
- Fix a cpu model number calculation.

Reviewed by:
Fix verified (y/n): y, compiler arraycopy regression tests

Other testing:
JPRT, jbb2005



More information about the hotspot-compiler-dev mailing list