<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/55215>55215</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Arm thumb assembler doesn't recognise 'rsbs' instruction
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
eskimo-software
</td>
</tr>
</table>
<pre>
When using clang (LLVM 14.0.0) to process assembler for armv6-m, the instruction 'rsbs Rn, #0' is not recognised, and the equivalent instruction 'negs Rn,Rn' must be used instead.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxdkE1v3CAQQH8NvqC1AJtlfeCQpNpTeukhOQOe2LQYUgY26r8vthIlioSGj4E3b7Bp_qefV4i0oo8LdcG0SMTl8fHpJ-Vjz3pGxERLoq85OUCkBhE2GyDTl5SpydvtfNqIeKBlBeojllxd8Sk2ispokf6Ke5aIoZEU9UhjKjSDS0v0CPOeNHE-nsPf6m8mQCzfSRGWd9IeFN0qFmqhacN83AUz97Sb9TBPw2S64ksAfZe3xq2b_WI9J8Ad8cXhQ_Xw-6zb1Rz0WsorkuGOiGsbi28427vUOr6GcPuYTu13foMrbesRKzTUVUrBZbdqUEqdOWN2UnCRzNiJMTYOk5jMaKSZu2AsBNRE3hMhIrzRA9HWRP7ovBZMCCYZ5xfGR94r486CMzdK1Y65IyODzfjQ7x59ykuX9aFk64ItGTwW_Ey2j_BLBDjKNb6pZU1ZA_7xWzpheilvJkN3KOijhf_hZLJ6">