United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6948602 Disable use of SSE4.2 in String.indexOf intrinsic until 6942326 is fixed
JDK-6948602 : Disable use of SSE4.2 in String.indexOf intrinsic until 6942326 is fixed

Details
Type:
Bug
Submit Date:
2010-04-29
Status:
Resolved
Updated Date:
2010-11-16
Project Name:
JDK
Resolved Date:
2010-05-18
Component:
hotspot
OS:
generic
Sub-Component:
compiler
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
hs17
Fixed Versions:
hs19 (b01)

Related Reports
Backport:
Backport:
Backport:
Backport:
Backport:
Backport:
Relates:

Sub Tasks

Description
Disable use of SSE4.2 instruction "pcmpestri" in String.indexOf intrinsic until 6942326 is fixed.

                                    

Comments
SUGGESTED FIX

diff -r 0a43776437b6 src/share/vm/opto/library_call.cpp
--- a/src/share/vm/opto/library_call.cpp        Thu Apr 08 12:13:07 2010 -0700
+++ b/src/share/vm/opto/library_call.cpp        Fri Apr 09 13:17:46 2010 -0700
@@ -1174,7 +1174,8 @@ bool LibraryCallKit::inline_string_index

   Node* result;
   if (Matcher::has_match_rule(Op_StrIndexOf) &&
-      UseSSE42Intrinsics) {
+      // Disable SSE4.2 version until 6942326 is fixed.
+      false && UseSSE42Intrinsics) {
     // Generate SSE4.2 version of indexOf
     // We currently only have match rules that use SSE4.2
                                     
2010-04-29
EVALUATION

Work around the problem for now.
                                     
2010-04-29
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/ae8f909e5fc7
                                     
2010-04-30
EVALUATION

http://hg.openjdk.java.net/hsx/hsx17/baseline/rev/9d9e74a1628e
                                     
2010-04-30
EVALUATION

http://hg.openjdk.java.net/hsx/hsx17/master/rev/9d9e74a1628e
                                     
2010-05-05



Hardware and Software, Engineered to Work Together