<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 builtins library has incompatible assembly"
href="http://llvm.org/bugs/show_bug.cgi?id=20360">20360</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>ARM builtins library has incompatible assembly
</td>
</tr>
<tr>
<th>Product</th>
<td>compiler-rt
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</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>compiler-rt
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>sgundapa@codeaurora.org
</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 $COMPILER_RT_SRC_DIR/lib/builtins/arm/sync-ops.h has assembly with a
backward branch on CBNZ instruction which is wrong on ARMv62T and above.
The ARM manual on CBNZ says backward branching is not possible.
Refer to
<a href="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0489c/Cjaghefc.html">http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0489c/Cjaghefc.html</a>
The integrated-as compiles this file with out an issue due to the bug
<a class="bz_bug_link
bz_status_NEW "
title="NEW --- - ARM MC assembler allows backward branching on CBNZ instruction."
href="show_bug.cgi?id=20359">http://llvm.org/bugs/show_bug.cgi?id=20359</a>
Also, the lib/builtins/CMakeLists.txt has an issue that is not compiling the .S
files.</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>