A simple optimization proposal

Martin Grajcar maaartinus at gmail.com
Fri Feb 14 00:48:02 PST 2014

Hi Kris,

just a short answer for now:

At line 1229, I wonder why the immediate additions don't get normalized to
e.g. using SubI exclusively (AddI doesn't cover const-var). This surely
isn't something to be done now, just a general question of mine.

Maybe you could change in addition to (arraylength > 0) also (arraylength
!= 0) into (arraylength u> 0)?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20140214/acde685c/attachment.html 

More information about the hotspot-compiler-dev mailing list