Other |
---|
tbdUnresolved |
Duplicate :
|
|
Relates :
|
|
Relates :
|
Math.min/max intrinsic unconditionally generates cmove instructions on x86 which may perform much worse than branch depending on probability of branches. We have code in PhaseIdealLoop::conditional_move() which takes into account branch's probability. I suggest to not use LibraryCallKit::inline_min_max() on CPUs which have good predictors (modern x86).
|