<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - After r315899, labels after x86 prefixes cause errors"
href="https://bugs.llvm.org/show_bug.cgi?id=35831">35831</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>After r315899, labels after x86 prefixes cause errors
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>release blocker
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>dimitry@andric.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Related to <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - After r315899, comments after x86 prefixes cause errors"
href="show_bug.cgi?id=35741">bug 35741</a>, after <a href="https://reviews.llvm.org/rL315899">https://reviews.llvm.org/rL315899</a> (fixing
x86 prefix issues related to <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [MC] Disassembler does not support x86 instruction prefixes"
href="show_bug.cgi?id=7709">bug 7709</a>, <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [x86 disassembler] Wrong disassemble for some SSE2 instructions."
href="show_bug.cgi?id=17697">bug 17697</a>, <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [x86 disassembler] prefix ordering may ignore opsize and rep[n]e prefixes"
href="show_bug.cgi?id=19251">bug 19251</a>, <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [x86 disassembler] 'xchg' instruction uses two different sized register operands with data16 prefix"
href="show_bug.cgi?id=32809">bug 32809</a>
and <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - X86 disassembler skips over some bytes"
href="show_bug.cgi?id=21640">bug 21640</a>), labels directives directly after an x86 instruction
prefix are no longer accepted.
For example (this is derived from openjdk8 sources, see [1]):
cmp $0, %edx
je 1f
lock
1: cmpxchgl %ecx,(%rdi)
This is accepted by both clang before r315899 and GNU as, but clang r315899
gives:
lock-label.s:4:2: error: unknown token in expression
1: cmpxchgl %ecx,(%rdi)
^
lock-label.s:2:5: error: directional label undefined
je 1f
^
[1]
<a href="http://hg.openjdk.java.net/jdk8/jdk8/hotspot/file/87ee5ee27509/src/os_cpu/linux_x86/vm/atomic_linux_x86.inline.hpp#l48">http://hg.openjdk.java.net/jdk8/jdk8/hotspot/file/87ee5ee27509/src/os_cpu/linux_x86/vm/atomic_linux_x86.inline.hpp#l48</a></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>