-
Enhancement
-
Resolution: Fixed
-
P4
-
22, 23
-
b03
When transforming a Phi into a CMove, the threshold is set to be approximately BlockLayoutMinDiamondPercentage, the reason is given:
// BlockLayoutByFrequency optimization moves infrequent branch
// from hot path. No point in CMOV'ing in such case
This sets the default value of the threshold to be around 18%, which is too conservative. The reason also does not make a lot of sense since the important property which makes jumping expensive is not code layout. We should remove this.
// BlockLayoutByFrequency optimization moves infrequent branch
// from hot path. No point in CMOV'ing in such case
This sets the default value of the threshold to be around 18%, which is too conservative. The reason also does not make a lot of sense since the important property which makes jumping expensive is not code layout. We should remove this.
- duplicates
-
JDK-8334815 compiler/c2/irTests/TestIfMinMax.java fails after 8334629
- Closed
- is cloned by
-
JDK-8334627 [REDO] PhaseIdealLoop::conditional_move is too conservative
- Open
- relates to
-
JDK-8323079 Regression of -5% to -11% with SPECjvm2008-MonteCarlo after JDK-8319451
- Closed
-
JDK-8334816 compiler/c2/irTests/TestIfMinMax.java fails after 8334629
- Resolved
(1 links to)