8339793: Fix incorrect APX feature enabling with -XX:-UseAPX
Reviewed-by: kvn, thartmann, sviswanathan
This commit is contained in:
parent
3e03e6673a
commit
a4cf1918c9
@ -1045,6 +1045,10 @@ void VM_Version::get_processor_features() {
|
||||
FLAG_SET_DEFAULT(UseAPX, apx_supported ? true : false);
|
||||
}
|
||||
|
||||
if (!UseAPX) {
|
||||
_features &= ~CPU_APX_F;
|
||||
}
|
||||
|
||||
if (UseAVX < 2) {
|
||||
_features &= ~CPU_AVX2;
|
||||
_features &= ~CPU_AVX_IFMA;
|
||||
|
Loading…
x
Reference in New Issue
Block a user