提交 5d1048f9 编写于 作者: K kvn

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
上级 c787993e
...@@ -436,6 +436,13 @@ void VM_Version::get_processor_features() { ...@@ -436,6 +436,13 @@ void VM_Version::get_processor_features() {
UseCountLeadingZerosInstruction = true; UseCountLeadingZerosInstruction = true;
} }
} }
// On family 21 processors default is no sw prefetch
if ( cpu_family() == 21 ) {
if (FLAG_IS_DEFAULT(AllocatePrefetchStyle)) {
AllocatePrefetchStyle = 0;
}
}
} }
if( is_intel() ) { // Intel cpus specific settings if( is_intel() ) { // Intel cpus specific settings
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册