A simple optimization proposal

Martin Grajcar maaartinus at gmail.com
Wed Feb 12 15:45:04 PST 2014

I'm afraid, not all equivalences listed in
are right, namely the first one

(x & m) <= m, if and only if (m >= 0)

Using x = -1 reduces the LHS to m <= m.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20140213/64ba6398/attachment.html 

More information about the hotspot-compiler-dev mailing list