XCHG is slow ?

John Rose john.r.rose at oracle.com
Tue Jul 3 16:43:36 PDT 2012

On Jul 3, 2012, at 4:39 PM, John Rose wrote:

>   0x0000000104760bde: xchg   %ax,%ax            ;...6690

Hence this line in assembler_x86.cpp:

        emit_byte(0x90); // nop

But I don't know why that displays as xchg.  — John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20120703/9ac08138/attachment.html 

More information about the hotspot-compiler-dev mailing list