Mercurial > hg > truffle
diff src/share/vm/opto/loopTransform.cpp @ 7637:b30b3c2a0cf2
6896617: Optimize sun.nio.cs.ISO_8859_1$Encode.encodeArrayLoop() on x86
Summary: Use SSE4.2 and AVX2 instructions for encodeArray intrinsic.
Reviewed-by: roland
author | kvn |
---|---|
date | Tue, 22 Jan 2013 15:34:16 -0800 |
parents | 2aff40cb4703 |
children | b5cb079ecaa4 |
line wrap: on
line diff
--- a/src/share/vm/opto/loopTransform.cpp Tue Jan 22 11:31:25 2013 -0800 +++ b/src/share/vm/opto/loopTransform.cpp Tue Jan 22 15:34:16 2013 -0800 @@ -613,6 +613,7 @@ case Op_StrComp: case Op_StrEquals: case Op_StrIndexOf: + case Op_EncodeISOArray: case Op_AryEq: { return false; } @@ -717,6 +718,7 @@ case Op_StrComp: case Op_StrEquals: case Op_StrIndexOf: + case Op_EncodeISOArray: case Op_AryEq: { // Do not unroll a loop with String intrinsics code. // String intrinsics are large and have loops.