JIT code generation for Long/Integer.compare

John Rose john.r.rose at oracle.com
Sat Sep 26 19:02:41 UTC 2015


On Sep 25, 2015, at 7:35 PM, Vladimir Kozlov <vladimir.kozlov at oracle.com> wrote:
> 
> For pattern matching I mean ideal transformation in ideal graph.
> See, fro example, is_x2logic() in cfgnode.cpp and other transformations for Phi node.
> 
> You will still need new CmpI3 node and changes in .ad file.

+1  Ideally, we pattern-match the body of the method we know about and
generate the new IR, and then two good things happen:  Other expressions
we didn't know about also pattern match, and after looking at the pattern
logic we discover straightforward generalizations that go beyond the method
we knew about at first.

— John

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20150926/00bad01c/attachment.html>


More information about the hotspot-compiler-dev mailing list