src/cpu/x86/vm/x86.ad

Print this page
rev 9706 : 8147844: new method j.l.Runtime.onSpinWait() and the corresponding x86 hotspot instrinsic
Contributed-by: ikrylov, ygaevsky
Reviewed-by: iveresov, vlivanov

*** 1709,1718 **** --- 1709,1722 ---- break; case Op_CMoveVD: if (UseAVX < 1 || UseAVX > 2) ret_value = false; break; + case Op_OnSpinWait: + if (UseSSE < 2) // requires at least SSE4 + ret_value = false; + break; } return ret_value; // Per default match rules are supported. }