<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 --- - ARM assembler rejects LDRT/LDRHT/LDRBT with "error: instruction requires: thumb2""
href="http://llvm.org/bugs/show_bug.cgi?id=17720">17720</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>ARM assembler rejects LDRT/LDRHT/LDRBT with "error: instruction requires: thumb2"
</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>Linux
</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>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>niels.penneman@elis.ugent.be
</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>The integrated ARM assembler in Clang rejects LDRT/LDRHT/LDRBT with "error:
instruction requires: thumb2" when assembling for ARMv7-A.
Steps to reproduce for LDRT:
$ cat > test.s <<END
.syntax unified
.text
.arm
LDRT r0, [r1]
END
$ /opt/llvm/bin/clang -target armv7a-none-eabi -integrated-as test.s
Actual results:
'+soft-float-abi' is not a recognized feature for this target (ignoring
feature)
test.s:4:1: error: instruction requires: thumb2
LDRT r0, [r1]
^
Expected results: assemble LDRT instruction without error, since it has been a
valid ARM instruction since ARMv4, long before Thumb2 first appeared.
Version and platform:
$ /opt/llvm/bin/clang --version
clang version 3.4 (trunk 193589)
Target: x86_64-unknown-linux-gnu
Thread model: posix</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>