United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6463375 Fix the condition for a commutative operation's inputs swapping during final graph reshaping
6463375 : Fix the condition for a commutative operation's inputs swapping during final graph reshaping

Details
Type:
Bug
Submit Date:
2006-08-24
Status:
Resolved
Updated Date:
2010-04-03
Project Name:
JDK
Resolved Date:
2006-11-14
Component:
hotspot
OS:
solaris_9
Sub-Component:
compiler
CPU:
sparc
Priority:
P4
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:
hs10

Related Reports
Backport:
Backport:

Sub Tasks

Description
The condition in final_graph_reshaping_impl() is incomplete.
It misses the check for commutative nodes MaxI and MinI.
And it allows to swap the input from a loop's Phi node to the second input
of a commutative node.
All this increse a register pressure during RA.

                                    

Comments
EVALUATION

See description.
                                     
2006-08-24
SUGGESTED FIX

Webrev:                 http://analemma.sfbay.sun.com/net/prt-archiver.sfbay/data/archived_workspaces/main/c2_baseline/2006/20060824120305.kvn.6463375/workspace/webrevs/webrev-2006.08.24/index.html
                                     
2006-08-24



Hardware and Software, Engineered to Work Together