changeset 1323:9d9e74a1628e hs17-b14

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
author iveresov
date Thu, 29 Apr 2010 17:58:36 -0700
parents 8e21809e4f9e
children e776591addb0 e3b128efead1
files src/share/vm/opto/library_call.cpp
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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