# HG changeset patch # User iveresov # Date 1272589116 25200 # Node ID 9d9e74a1628edf11f4f2955d18c708b840bf1dd4 # Parent 8e21809e4f9e0024790ee98061d4effe5b429874 6948602: Disable use of SSE4.2 in String.indexOf intrinsic until 6942326 is fixed Summary: Disable the use of pcmpestri until it can be guaranteed that the load doesn't cross in to the uncommited space. See 6942326. Reviewed-by: never, kvn diff -r 8e21809e4f9e -r 9d9e74a1628e src/share/vm/opto/library_call.cpp --- a/src/share/vm/opto/library_call.cpp Tue Apr 20 21:00:11 2010 -0700 +++ b/src/share/vm/opto/library_call.cpp Thu Apr 29 17:58:36 2010 -0700 @@ -1173,7 +1173,9 @@ Node *receiver = pop(); Node* result; - if (Matcher::has_match_rule(Op_StrIndexOf) && + // Disable the use of pcmpestri until it can be guaranteed that + // the load doesn't cross in to the uncommited space. + if (false && Matcher::has_match_rule(Op_StrIndexOf) && UseSSE42Intrinsics) { // Generate SSE4.2 version of indexOf // We currently only have match rules that use SSE4.2