Mercurial > hg > truffle
diff src/share/vm/opto/lcm.cpp @ 681:fbde8ec322d0
6761600: Use sse 4.2 in intrinsics
Summary: Use SSE 4.2 in intrinsics for String.{compareTo/equals/indexOf} and Arrays.equals.
Reviewed-by: kvn, never, jrose
author | cfang |
---|---|
date | Tue, 31 Mar 2009 14:07:08 -0700 |
parents | bd441136a5ce |
children | f96a1a986f7b |
line wrap: on
line diff
--- a/src/share/vm/opto/lcm.cpp Tue Mar 31 10:02:01 2009 -0700 +++ b/src/share/vm/opto/lcm.cpp Tue Mar 31 14:07:08 2009 -0700 @@ -137,6 +137,8 @@ if( mach->in(2) != val ) continue; break; // Found a memory op? case Op_StrComp: + case Op_StrEquals: + case Op_StrIndexOf: case Op_AryEq: // Not a legit memory op for implicit null check regardless of // embedded loads