Mercurial > hg > truffle
comparison src/cpu/x86/vm/vm_version_x86.cpp @ 2358:82de9bd880e3
7028394: Newer AMD Processor Prefetch Defaults
Summary: This new default has shown improvement across many workloads.
Reviewed-by: kvn
Contributed-by: tom.deneau@amd.com
author | kvn |
---|---|
date | Thu, 17 Mar 2011 12:08:01 -0700 |
parents | f95d63e2154a |
children | a988a7bb3b8a |
comparison
equal
deleted
inserted
replaced
2357:8033953d67ff | 2358:82de9bd880e3 |
---|---|
434 if (supports_lzcnt()) { | 434 if (supports_lzcnt()) { |
435 if (FLAG_IS_DEFAULT(UseCountLeadingZerosInstruction)) { | 435 if (FLAG_IS_DEFAULT(UseCountLeadingZerosInstruction)) { |
436 UseCountLeadingZerosInstruction = true; | 436 UseCountLeadingZerosInstruction = true; |
437 } | 437 } |
438 } | 438 } |
439 | |
440 // On family 21 processors default is no sw prefetch | |
441 if ( cpu_family() == 21 ) { | |
442 if (FLAG_IS_DEFAULT(AllocatePrefetchStyle)) { | |
443 AllocatePrefetchStyle = 0; | |
444 } | |
445 } | |
439 } | 446 } |
440 | 447 |
441 if( is_intel() ) { // Intel cpus specific settings | 448 if( is_intel() ) { // Intel cpus specific settings |
442 if( FLAG_IS_DEFAULT(UseStoreImmI16) ) { | 449 if( FLAG_IS_DEFAULT(UseStoreImmI16) ) { |
443 UseStoreImmI16 = false; // don't use it on Intel cpus | 450 UseStoreImmI16 = false; // don't use it on Intel cpus |