6948602: Disable use of SSE4.2 in String.indexOf intrinsic until 6942326 is fixed
authoriveresov
Thu, 29 Apr 2010 17:53:58 -0700
changeset 5417 858726f8f8c0
parent 5416 5f6377fcfd3e
child 5418 c4955cb6ed33
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
hotspot/src/share/vm/opto/library_call.cpp
--- a/hotspot/src/share/vm/opto/library_call.cpp	Thu Apr 29 06:30:25 2010 -0700
+++ b/hotspot/src/share/vm/opto/library_call.cpp	Thu Apr 29 17:53:58 2010 -0700
@@ -1175,7 +1175,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 into 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