Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
676:d3676b4cb78c | 681:fbde8ec322d0 |
---|---|
135 // If the value being nul-checked is in another slot, it means we | 135 // If the value being nul-checked is in another slot, it means we |
136 // are storing the checked value, which does NOT check the value! | 136 // are storing the checked value, which does NOT check the value! |
137 if( mach->in(2) != val ) continue; | 137 if( mach->in(2) != val ) continue; |
138 break; // Found a memory op? | 138 break; // Found a memory op? |
139 case Op_StrComp: | 139 case Op_StrComp: |
140 case Op_StrEquals: | |
141 case Op_StrIndexOf: | |
140 case Op_AryEq: | 142 case Op_AryEq: |
141 // Not a legit memory op for implicit null check regardless of | 143 // Not a legit memory op for implicit null check regardless of |
142 // embedded loads | 144 // embedded loads |
143 continue; | 145 continue; |
144 default: // Also check for embedded loads | 146 default: // Also check for embedded loads |