<html>
<head>
<base href="http://llvm.org/bugs/" />
</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 --- - Gnu Assembler compatibility fails on ldrd r12, [...]"
href="http://llvm.org/bugs/show_bug.cgi?id=19320">19320</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Gnu Assembler compatibility fails on ldrd r12, [...]
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</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>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Backend: ARM
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>stpworld@narod.ru
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=12331" name="attach_12331" title="Test case">attachment 12331</a> <a href="attachment.cgi?id=12331&action=edit" title="Test case">[details]</a></span>
Test case
GNU Assembler compatibility fails on several commands:
ldrd r12, [r0, #32]
strd r12, [r0, #32]
The trouble as in ARMAsmParser, in ParseInstruction method. It assumes that
ARM::R12 + 1 == ARM::SP.
It is wrong, since ARM::<Register> codes are generated by tablegen and actually
could be any random numbers.
I think its critical misbehaviour. So first fast fix patch will be sent to
LLVM-Commits.
While actually I would like get rid of
// GNU Assembler extension (compatibility)
...
in further commits.</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>