Understanding PrintAssembly output

Manohar Jonnalagedda manojo10386 at gmail.com
Thu Dec 8 13:41:56 PST 2011

Thanks for your responses.

> > cmpl R10, R10
> > jg,s B24
> That looks like a missed optimization.  The compiler should have
> eliminated that.

It seems to me that I misread some of the instructions, and also
misunderstood them. What I have is actually

test R10, R10

which I misunderstood for a comparison, while it actually is a zero-check.
Things are a bit more clear as a result of understanding this.

Sorry for the trouble,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-dev/attachments/20111208/6bea7f5a/attachment.html 

More information about the hotspot-dev mailing list