<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:renato.golin@linaro.org" title="Renato Golin <renato.golin@linaro.org>"> <span class="fn">Renato Golin</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - immediate in DecodeThumbAddSPImm has to left shift 2 bits"
href="https://llvm.org/bugs/show_bug.cgi?id=14094">bug 14094</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;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>renato.golin@linaro.org
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - immediate in DecodeThumbAddSPImm has to left shift 2 bits"
href="https://llvm.org/bugs/show_bug.cgi?id=14094#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - immediate in DecodeThumbAddSPImm has to left shift 2 bits"
href="https://llvm.org/bugs/show_bug.cgi?id=14094">bug 14094</a>
from <span class="vcard"><a class="email" href="mailto:renato.golin@linaro.org" title="Renato Golin <renato.golin@linaro.org>"> <span class="fn">Renato Golin</span></a>
</span></b>
<pre>LLVM gets this right:
$ echo "sub sp, sp, #4" | llvm-mc -triple thumbv4t -filetype=obj -o sub.o
Using a different toolchain to make sure:
$ arm-none-eabi-objdump -d sub.o
00000000 <.text>:
0: b081 sub sp, #4</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>