< prev index next >

src/cpu/x86/vm/vm_version_x86.cpp

Print this page

        

@@ -652,13 +652,27 @@
   if( is_intel() ) { // Intel cpus specific settings
     if ((cpu_family() == 0x06) &&
         ((extended_cpu_model() == 0x57) ||   // Xeon Phi 3200/5200/7200
         (extended_cpu_model() == 0x85))) {  // Future Xeon Phi
       _features &= ~CPU_VZEROUPPER;
+      if (FLAG_IS_DEFAULT(UseIncDec)){
+       FLAG_SET_DEFAULT(UseIncDec, false);
+       }
+#ifdef COMPILER2
+ if (FLAG_IS_DEFAULT(OptoScheduling)) {
+  OptoScheduling = true;
+ }
+#endif
+      if (supports_sse4_2()) { // Silvermont
+       if (FLAG_IS_DEFAULT(UseUnalignedLoadStores)) {
+        UseUnalignedLoadStores = true; // use movdqu on newest Intel cpus
     }
   }
 
+  }
+}
+
   char buf[256];
   jio_snprintf(buf, sizeof(buf), "(%u cores per cpu, %u threads per core) family %d model %d stepping %d%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s",
                cores_per_cpu(), threads_per_core(),
                cpu_family(), _model, _stepping,
                (supports_cmov() ? ", cmov" : ""),

@@ -1191,10 +1205,13 @@
       if (supports_sse4_2()) { // Silvermont
         if (FLAG_IS_DEFAULT(UseUnalignedLoadStores)) {
           UseUnalignedLoadStores = true; // use movdqu on newest Intel cpus
         }
       }
+      if (FLAG_IS_DEFAULT(UseIncDec)){
+       FLAG_SET_DEFAULT(UseIncDec, false);
+       }
     }
     if(FLAG_IS_DEFAULT(AllocatePrefetchInstr) && supports_3dnow_prefetch()) {
       AllocatePrefetchInstr = 3;
     }
   }
< prev index next >