< prev index next >

src/cpu/x86/vm/x86.ad

Print this page
rev 9944 : 8145336: PPC64: fix string intrinsics after CompactStrings change

@@ -1709,10 +1709,18 @@
       break;
     case Op_CMoveVD:
       if (UseAVX < 1 || UseAVX > 2)
         ret_value = false;
       break;
+    case Op_StrIndexOf:
+      if (!UseSSE42Intrinsics)
+        ret_value = false;
+      break;
+    case Op_StrIndexOfChar:
+      if (!(UseSSE > 4))
+        ret_value = false;
+      break;
   }
 
   return ret_value;  // Per default match rules are supported.
 }
 
< prev index next >