hotspot/src/cpu/x86/vm/vm_version_x86.cpp
changeset 8873 d3031147b912
parent 8677 45d01baba334
child 8921 14bfe81f2a9d
--- a/hotspot/src/cpu/x86/vm/vm_version_x86.cpp	Mon Mar 28 03:58:07 2011 -0700
+++ b/hotspot/src/cpu/x86/vm/vm_version_x86.cpp	Tue Mar 29 09:11:51 2011 -0700
@@ -429,6 +429,11 @@
         UseXmmI2D = false;
       }
     }
+    if( FLAG_IS_DEFAULT(UseSSE42Intrinsics) ) {
+      if( supports_sse4_2() && UseSSE >= 4 ) {
+        UseSSE42Intrinsics = true;
+      }
+    }
 
     // Use count leading zeros count instruction if available.
     if (supports_lzcnt()) {