[llvm-bugs] [Bug 21640] X86 disassembler skips over some bytes
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Oct 12 05:19:58 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=21640
Andrew V. Tischenko <andrew.v.tischenko at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|REOPENED |RESOLVED
--- Comment #5 from Andrew V. Tischenko <andrew.v.tischenko at gmail.com> ---
I was wrong: I used wrong tests. Now I see that everything is OK:
movw %bx, %cs:(%rsi,%rbp) # encoding: [0x2e,0x66,0x89,0x1c,0x2e]
movl %ebx, %cs:(%esi,%ebp) # encoding: [0x2e,0x67,0x89,0x1c,0x2e]
movl %ebx, %cs:(%rsi,%rbp) # encoding: [0x2e,0x89,0x1c,0x2e]
movw %bx, %cs:(%esi,%ebp) # encoding:
[0x2e,0x67,0x66,0x89,0x1c,0x2e]
movw %bx, %cs:(%esi,%ebp) # encoding:
[0x2e,0x67,0x66,0x89,0x1c,0x2e]
and it work for both 32 and 64 bits:
movw %bx, %cs:(%esi,%ebp) # encoding: [0x2e,0x66,0x89,0x1c,0x2e]
movl %ebx, %cs:(%si) # encoding: [0x2e,0x67,0x89,0x1c]
movl %ebx, %cs:(%esi,%ebp) # encoding: [0x2e,0x89,0x1c,0x2e]
movw %bx, %cs:(%si) # encoding: [0x2e,0x67,0x66,0x89,0x1c]
movw %bx, %cs:(%si) # encoding: [0x2e,0x67,0x66,0x89,0x1c]
Because of that I'm closing the bug again. Sorry for boring you.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20171012/d4131cde/attachment.html>
More information about the llvm-bugs
mailing list