提交 bcadf8a6 编写于 作者: K kvn

7032133: Enable sse4.2 for new AMD processors

Summary: New AMD processors support sse4.2. Enable corresponding instructions in Hotspot.
Reviewed-by: kvn
Contributed-by: eric.caspole@amd.com
上级 7ee5d6d7
......@@ -429,6 +429,11 @@ void VM_Version::get_processor_features() {
UseXmmI2D = false;
}
}
if( FLAG_IS_DEFAULT(UseSSE42Intrinsics) ) {
if( supports_sse4_2() && UseSSE >= 4 ) {
UseSSE42Intrinsics = true;
}
}
// Use count leading zeros count instruction if available.
if (supports_lzcnt()) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册