-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: hs12
-
Component/s: hotspot
-
b02
-
sparc
-
solaris_10
-
Not verified
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-2174830 | 6u14 | Vladimir Kozlov | P3 | Resolved | Fixed | b01 |
| JDK-2172244 | 6u5p | Vladimir Kozlov | P3 | Resolved | Fixed | b01 |
C2 has optimization which replaces diamond graphs with CMove
(method PhaseIdealLoop::conditional_move()).
Each CMove instruction has own Cmp instruction to produce condition flags.
But float/double Cmp is expensive and it would be better to use a diamond graph
if we have more then one move.
(method PhaseIdealLoop::conditional_move()).
Each CMove instruction has own Cmp instruction to produce condition flags.
But float/double Cmp is expensive and it would be better to use a diamond graph
if we have more then one move.
- backported by
-
JDK-2172244 Don't generate duplicated CMP for float/double values
-
- Resolved
-
-
JDK-2174830 Don't generate duplicated CMP for float/double values
-
- Resolved
-