RFR (M): 8005419: Improve intrinsics code performance on x86 by using AVX2

Christian Thalinger christian.thalinger at oracle.com
Mon Jan 7 16:15:41 PST 2013


On Jan 7, 2013, at 3:26 PM, Vladimir Kozlov <vladimir.kozlov at oracle.com> wrote:

> http://cr.openjdk.java.net/~kvn/8005419/webrev/
> 
> Use 256bit (AVX2) vpxor,vptest instructions in String.compareTo() and equals() intrinsics.
> 
> Added jtreg test.
> 
> Ran compiler regression tests and ctw.

src/cpu/x86/vm/macroAssembler_x86.cpp:

One thing I don't like are the upper-case names for labels.  I would prefer L_foo as we do in other code.  But I see we are already using it in near-by code.  Oh well.

test/compiler/8005419/Test8005419.java:

Is there a reason why we pass in -Xmx64m?

Otherwise this looks good.

-- Chris

> 
> Thanks,
> Vladimir



More information about the hotspot-compiler-dev mailing list