JDK-6991577 : add IfOp optimization to C1
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs20
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2010-10-13
  • Updated: 2011-04-23
  • Resolved: 2011-04-23
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7 Other
6u25Fixed 7Fixed hs20Fixed
Description
Sometimes it's possible to generate a single conditional move instruction from LIR cmove.
E.g., replace:
  cmp rX, y
  cmove [EQ] y, z, rX
with
  cmp rX, y
  cmove [EQ] illegalOpr, z, rX

or
  cmp rX, y
  cmove [NE] z, y, rX
with
  cmp rX, y
  cmove [NE] z, illegalOpr, rX

and ensure that the instructions for moves from illegalOpr are not being generated.

Comments
EVALUATION http://hg.openjdk.java.net/jdk7/build/hotspot/rev/42a10fc37986
04-12-2010

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/42a10fc37986
15-10-2010