提交 35c7a714 编写于 作者: K kvn

8003878: compiler/7196199 test failed on OS X since 8b54, jdk7u12b01

Summary: Limit vectors size to 16 bytes on BSD until the problem is fixed
Reviewed-by: twisti
上级 c28b9a2e
......@@ -661,6 +661,14 @@ void VM_Version::get_processor_features() {
}
}
}
#if defined(COMPILER2) && defined(_ALLBSD_SOURCE)
if (MaxVectorSize > 16) {
// Limit vectors size to 16 bytes on BSD until it fixes
// restoring upper 128bit of YMM registers on return
// from signal handler.
FLAG_SET_DEFAULT(MaxVectorSize, 16);
}
#endif // COMPILER2
// Use population count instruction if available.
if (supports_popcnt()) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册