On Tue, Sep 6, 2011 at 12:33 PM, Christian Thalinger <christian.thalin...@oracle.com> wrote: > We already talked a bit about that some while ago. I think matching that > double-xor-trick (or whatever it's called) is too risky. A JDK method that > does the check (and the math?) would be nice so we can intrinsify it. GWT > would fit here.
Yeah, talking with Kris Mok over Twitter we both agreed that an intrinsic would be preferable. Prescribing a specific code shape is fragile and dangerous if someone actually wants the xors in place (a JO instruction would not be 100% equivalent, obviously). > Btw. what means JO? Jump if Overflow. - Charlie _______________________________________________ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev