[LLVMdev] REX prefix is not handled properly for X86_64?

Jun Koi junkoi2004 at gmail.com
Thu Dec 11 01:27:10 PST 2014


Hi,

Intel's Xed can interpret "43 40 04 75" as "add al, 0x75", but LLVM's X86
disassembler considers this invalid code. I guess the reason is that LLVM
fails to recognize the REX prefix in this case.

Is this correct?

Thanks.
Jun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141211/dc1a23fe/attachment.html>


More information about the llvm-dev mailing list