diff src/cpu/x86/vm/vm_version_x86.cpp @ 21074:2e35a4ea22ac

Add MaxVectorSize to Graal globals
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Tue, 21 Apr 2015 10:47:43 -0700
parents 7848fc12602b
children be896a1983c0
line wrap: on
line diff
--- a/src/cpu/x86/vm/vm_version_x86.cpp	Tue Apr 21 14:57:13 2015 +0200
+++ b/src/cpu/x86/vm/vm_version_x86.cpp	Tue Apr 21 10:47:43 2015 -0700
@@ -667,6 +667,8 @@
       FLAG_SET_DEFAULT(UseFPUForSpilling, false);
     }
   }
+#endif
+#if defined(COMPILER2) || defined(GRAAL)
   if (MaxVectorSize > 0) {
     if (!is_power_of_2(MaxVectorSize)) {
       warning("MaxVectorSize must be a power of 2");
@@ -684,7 +686,7 @@
       FLAG_SET_DEFAULT(MaxVectorSize, 0);
     }
 #ifdef ASSERT
-    if (supports_avx() && PrintMiscellaneous && Verbose && TraceNewVectors) {
+    if (supports_avx() && PrintMiscellaneous && Verbose) {
       tty->print_cr("State of YMM registers after signal handle:");
       int nreg = 2 LP64_ONLY(+2);
       const char* ymm_name[4] = {"0", "7", "8", "15"};
@@ -698,7 +700,9 @@
     }
 #endif
   }
+#endif
 
+#ifdef COMPILER2
 #ifdef _LP64
   if (FLAG_IS_DEFAULT(UseMultiplyToLenIntrinsic)) {
     UseMultiplyToLenIntrinsic = true;