<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:andrew.v.tischenko@gmail.com" title="Andrew V. Tischenko <andrew.v.tischenko@gmail.com>"> <span class="fn">Andrew V. Tischenko</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - X86 disassembler skips over some bytes"
href="https://bugs.llvm.org/show_bug.cgi?id=21640">bug 21640</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>REOPENED
</td>
<td>RESOLVED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - X86 disassembler skips over some bytes"
href="https://bugs.llvm.org/show_bug.cgi?id=21640#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - X86 disassembler skips over some bytes"
href="https://bugs.llvm.org/show_bug.cgi?id=21640">bug 21640</a>
from <span class="vcard"><a class="email" href="mailto:andrew.v.tischenko@gmail.com" title="Andrew V. Tischenko <andrew.v.tischenko@gmail.com>"> <span class="fn">Andrew V. Tischenko</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>