mirror of
https://github.com/openjdk/jdk.git
synced 2026-08-03 06:35:31 +00:00
Disable UseFPUForSpilling on families starting with Haswell.
This commit is contained in:
parent
31efcb3168
commit
a347360a5f
@ -1794,7 +1794,12 @@ void VM_Version::get_processor_features() {
|
||||
}
|
||||
#ifdef COMPILER2
|
||||
if (FLAG_IS_DEFAULT(UseFPUForSpilling) && supports_sse4_2()) {
|
||||
FLAG_SET_DEFAULT(UseFPUForSpilling, false);
|
||||
// Spilling to FPU registers not beneficial on Haswell and beyond
|
||||
if (UseAVX > 1) {
|
||||
FLAG_SET_DEFAULT(UseFPUForSpilling, false);
|
||||
} else {
|
||||
FLAG_SET_DEFAULT(UseFPUForSpilling, true);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user