[LLVMdev] Some bugs in x86 disasm (llvm-mc)

Jun Koi junkoi2004 at gmail.com
Wed Nov 27 07:56:53 PST 2013


Hi,

With objdump, i have this (Intel syntax)

         64 a1 00 00 00 00        mov    eax,fs:0x0


However, if I pass above string to llvm-mc, I would have:

$ echo "0x64 0xa1 0x00 0x00 0x00 0x00"|./Release+Asserts/bin/llvm-mc
-disassemble -arch=x86 --output-asm-variant=1
    .text
    mov    eax, dword ptr [0]


You can see a big difference. This is on the latest code. Any idea how to
fix this bug?

Thank you,
Jun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131127/16a12caf/attachment.html>


More information about the llvm-dev mailing list