src/cpu/x86/vm/vm_version_x86.cpp

changeset 2640
82de9bd880e3
parent 2314
f95d63e2154a
child 2688
a988a7bb3b8a
     1.1 --- a/src/cpu/x86/vm/vm_version_x86.cpp	Fri Mar 11 22:34:57 2011 -0800
     1.2 +++ b/src/cpu/x86/vm/vm_version_x86.cpp	Thu Mar 17 12:08:01 2011 -0700
     1.3 @@ -436,6 +436,13 @@
     1.4          UseCountLeadingZerosInstruction = true;
     1.5        }
     1.6      }
     1.7 +
     1.8 +    // On family 21 processors default is no sw prefetch
     1.9 +    if ( cpu_family() == 21 ) {
    1.10 +      if (FLAG_IS_DEFAULT(AllocatePrefetchStyle)) {
    1.11 +        AllocatePrefetchStyle = 0;
    1.12 +      }
    1.13 +    }
    1.14    }
    1.15  
    1.16    if( is_intel() ) { // Intel cpus specific settings

mercurial