<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:manojgupta@google.com" title="Manoj Gupta <manojgupta@google.com>"> <span class="fn">Manoj Gupta</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Wrong code generation on arm/thumb2"
href="https://bugs.llvm.org/show_bug.cgi?id=34165">bug 34165</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>RESOLVED
</td>
<td>REOPENED
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>manojgupta@google.com
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>FIXED
</td>
<td>---
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Wrong code generation on arm/thumb2"
href="https://bugs.llvm.org/show_bug.cgi?id=34165#c10">Comment # 10</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Wrong code generation on arm/thumb2"
href="https://bugs.llvm.org/show_bug.cgi?id=34165">bug 34165</a>
from <span class="vcard"><a class="email" href="mailto:manojgupta@google.com" title="Manoj Gupta <manojgupta@google.com>"> <span class="fn">Manoj Gupta</span></a>
</span></b>
<pre>Breaks GCC compatibility:
Test:
void fn(int fd, int arg)
{
register int r7 __asm__("r7") = 54;
__asm__ __volatile__ ( "svc 0" : : "r"(r7), "r"(fd), "r"(arg) : "memory");
}
Compiler args:
-march=armv7-a -mthumb -mfloat-abi=soft -O2
<a href="https://godbolt.org/z/wP8_ic">https://godbolt.org/z/wP8_ic</a></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>