hg: jdk7/hotspot-comp/hotspot: 5057225: Remove useless I2L conversions

Christian.Thalinger at Sun.COM Christian.Thalinger at Sun.COM
Fri Jun 26 10:01:00 PDT 2009


Changeset: 18a08a7e16b5
Author:    twisti
Date:      2009-06-26 07:26 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/18a08a7e16b5

5057225: Remove useless I2L conversions
Summary: 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.
Reviewed-by: kvn

! src/cpu/sparc/vm/sparc.ad
! src/cpu/x86/vm/x86_32.ad
! src/cpu/x86/vm/x86_64.ad
! src/share/vm/opto/mulnode.cpp
+ test/compiler/5057225/Test5057225.java




More information about the hotspot-compiler-dev mailing list