diff src/cpu/x86/vm/vm_version_x86.cpp @ 1060:323bd24c6520

6769124: various 64-bit fixes for c1 Reviewed-by: never
author roland
date Mon, 02 Nov 2009 11:17:55 +0100
parents 93c14e5562c4
children c18cbe5936b8
line wrap: on
line diff
--- a/src/cpu/x86/vm/vm_version_x86.cpp	Fri Oct 30 16:22:59 2009 -0700
+++ b/src/cpu/x86/vm/vm_version_x86.cpp	Mon Nov 02 11:17:55 2009 +0100
@@ -255,6 +255,8 @@
   if (!VM_Version::supports_sse2()) {
     vm_exit_during_initialization("Unknown x64 processor: SSE2 not supported");
   }
+  // in 64 bit the use of SSE2 is the minimum
+  if (UseSSE < 2) UseSSE = 2;
 #endif
 
   // If the OS doesn't support SSE, we can't use this feature even if the HW does