Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 5057225
Votes 0
Synopsis Remove useless I2L conversions
Category hotspot:compiler2
Reported Against dragon
Release Fixed hs16(b06), 7(b65) (Bug ID:2180091)
State 9-Fix Failed, request for enhancement
Priority: 3-Medium
Related Bugs 6863155
Submit Date 03-JUN-2004
Description
The optimizer should be told to normalize (AndL (ConvI2L x) 0xFF) to (ConvI2L   
(AndI x 0xFF)), and then the existing matcher rule will work for free.  The    
suggested fix is OK only as a point fix in Tiger, since it mixes optimizer     
knowledge into the matcher.                                                    
                                                                                
The optimizer should commute I2L with And for any mask that fits in 32 bits.    
Also, the matcher should get rid of LDSB for any mask less than 0xFF.   Also,  
the matcher should remove useless I2UL conversions in more places.  These are  
more profitable and complex fixes, for Dragon.                         
Work Around
N/A
Evaluation
Dragon work
  xxxxx@xxxxx   2004-06-03
http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/18a08a7e16b5
Posted Date : 2009-06-26 17:01:19.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang