XCHG is slow ?
Vitaly Davidovich
vitalyd at gmail.com
Tue Jul 3 16:47:39 PDT 2012
I think it's because the two mnemonics are actually the same instruction so
disassembler must be picking the xchg one?
Sent from my phone
On Jul 3, 2012 7:44 PM, "John Rose" <john.r.rose at oracle.com> wrote:
> 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/d2ac6e01/attachment.html
More information about the hotspot-compiler-dev
mailing list