United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6991577 add IfOp optimization to C1
JDK-6991577 : add IfOp optimization to C1

Details
Type:
Enhancement
Submit Date:
2010-10-13
Status:
Closed
Updated Date:
2011-04-23
Project Name:
JDK
Resolved Date:
2011-04-23
Component:
hotspot
OS:
generic
Sub-Component:
compiler
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
hs20
Fixed Versions:
hs20 (b03)

Related Reports
Backport:
Backport:

Sub Tasks

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/hotspot-comp/hotspot/rev/42a10fc37986
                                     
2010-10-15
EVALUATION

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



Hardware and Software, Engineered to Work Together