<html>
<head>
<base href="https://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] LLVM allows {LD,ST}REX{B,H,D} on Thumb1 targets"
href="https://llvm.org/bugs/show_bug.cgi?id=31720">31720</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[ARM] LLVM allows {LD,ST}REX{B,H,D} on Thumb1 targets
</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>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>Backend: ARM
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>renato.golin@linaro.org
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=17878" name="attach_17878" title="Script that reproduced the lack of error messages">attachment 17878</a> <a href="attachment.cgi?id=17878&action=edit" title="Script that reproduced the lack of error messages">[details]</a></span>
Script that reproduced the lack of error messages
The attached Perl script tests a matrix of arch/isa support for all exclusive
load/store operations, and it seems LLVM allows pre-v6T2 arches to emit Thumb2
code.
This is the script's output:
LLVM passes with: echo 'ldrexd r2, r3, [r4]' | llvm-mc -triple armv4 -o
/dev/null
LLVM passes with: echo 'strexd r0, r2, r3, [r4]' | llvm-mc -triple armv4 -o
/dev/null
LLVM passes with: echo 'ldrexd r2, r3, [r4]' | llvm-mc -triple armv5 -o
/dev/null
LLVM passes with: echo 'strexd r0, r2, r3, [r4]' | llvm-mc -triple armv5 -o
/dev/null
LLVM passes with: echo 'ldrexd r2, r3, [r4]' | llvm-mc -triple armv6 -o
/dev/null
LLVM passes with: echo 'strexd r0, r2, r3, [r4]' | llvm-mc -triple armv6 -o
/dev/null
LLVM passes with: echo 'ldrexd r2, r3, [r4]' | llvm-mc -triple armv6t2 -o
/dev/null
LLVM passes with: echo 'strexd r0, r2, r3, [r4]' | llvm-mc -triple armv6t2 -o
/dev/null
LLVM passes with: echo 'ldrex r3, [r4]' | llvm-mc -triple armv4 -o /dev/null
LLVM passes with: echo 'strex r2, r3, [r4]' | llvm-mc -triple armv4 -o
/dev/null
LLVM passes with: echo 'ldrex r3, [r4]' | llvm-mc -triple armv5 -o /dev/null
LLVM passes with: echo 'strex r2, r3, [r4]' | llvm-mc -triple armv5 -o
/dev/null
LLVM passes with: echo 'ldrexb r3, [r4]' | llvm-mc -triple armv4 -o /dev/null
LLVM passes with: echo 'strexb r2, r3, [r4]' | llvm-mc -triple armv4 -o
/dev/null
LLVM passes with: echo 'ldrexb r3, [r4]' | llvm-mc -triple armv5 -o /dev/null
LLVM passes with: echo 'strexb r2, r3, [r4]' | llvm-mc -triple armv5 -o
/dev/null
LLVM passes with: echo 'ldrexb r3, [r4]' | llvm-mc -triple armv6 -o /dev/null
LLVM passes with: echo 'strexb r2, r3, [r4]' | llvm-mc -triple armv6 -o
/dev/null
LLVM passes with: echo 'ldrexb r3, [r4]' | llvm-mc -triple armv6t2 -o /dev/null
LLVM passes with: echo 'strexb r2, r3, [r4]' | llvm-mc -triple armv6t2 -o
/dev/null
LLVM passes with: echo 'ldrexh r3, [r4]' | llvm-mc -triple armv4 -o /dev/null
LLVM passes with: echo 'strexh r2, r3, [r4]' | llvm-mc -triple armv4 -o
/dev/null
LLVM passes with: echo 'ldrexh r3, [r4]' | llvm-mc -triple armv5 -o /dev/null
LLVM passes with: echo 'strexh r2, r3, [r4]' | llvm-mc -triple armv5 -o
/dev/null
LLVM passes with: echo 'ldrexh r3, [r4]' | llvm-mc -triple armv6 -o /dev/null
LLVM passes with: echo 'strexh r2, r3, [r4]' | llvm-mc -triple armv6 -o
/dev/null
LLVM passes with: echo 'ldrexh r3, [r4]' | llvm-mc -triple armv6t2 -o /dev/null
LLVM passes with: echo 'strexh r2, r3, [r4]' | llvm-mc -triple armv6t2 -o
/dev/null
Number of tests: 128
GCC failures: 0
LLVM failures: 28</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>