<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:fang@csl.cornell.edu" title="David Fang <fang@csl.cornell.edu>"> <span class="fn">David Fang</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - bad asm emitted for powerpc-darwin8"
href="http://llvm.org/bugs/show_bug.cgi?id=15605">bug 15605</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;">Resolution</td>
<td>FIXED
</td>
<td>---
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - bad asm emitted for powerpc-darwin8"
href="http://llvm.org/bugs/show_bug.cgi?id=15605#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - bad asm emitted for powerpc-darwin8"
href="http://llvm.org/bugs/show_bug.cgi?id=15605">bug 15605</a>
from <span class="vcard"><a class="email" href="mailto:fang@csl.cornell.edu" title="David Fang <fang@csl.cornell.edu>"> <span class="fn">David Fang</span></a>
</span></b>
<pre>Just for the record, here's the resulting change in asm produced in the patched
version. (And it assembles fine.)
--- APFloat.s.orig 2013-03-26 14:44:57.000000000 -0700
+++ APFloat.s 2013-03-27 10:44:04.000000000 -0700
@@ -20872,7 +20872,7 @@
; BB#0: ; %entry
stw r3, -8(r1)
addi r2, r1, -8
- lwbrx r2, r0, r2
+ lwbrx r2, 0, r2
stw r3, -12(r1) ; 4-byte Folded Spill
mr r3, r2
blr
@@ -21300,7 +21300,7 @@
LBB236_1: ; %entry
; =>This Inner Loop Header: Depth=1
lwz r2, 80(r31) ; 4-byte Folded Reload
- lwarx r3, r0, r2
+ lwarx r3, 0, r2
lwz r4, 88(r31) ; 4-byte Folded Reload
and r5, r3, r4
lwz r6, 72(r31) ; 4-byte Folded Reload
@@ -21316,13 +21316,13 @@
lwz r5, 76(r31) ; 4-byte Folded Reload
or r4, r4, r5
lwz r6, 80(r31) ; 4-byte Folded Reload
- stwcx. r4, r0, r6
+ stwcx. r4, 0, r6
bne cr0, LBB236_1
b LBB236_4
LBB236_3: ; %entry
lwz r2, 68(r31) ; 4-byte Folded Reload
lwz r3, 80(r31) ; 4-byte Folded Reload
- stwcx. r2, r0, r3
+ stwcx. r2, 0, r3
LBB236_4: ; %entry
lwz r2, 64(r31) ; 4-byte Folded Reload
lwz r3, 84(r31) ; 4-byte Folded Reload
I'll pick up your commit on trunk with my next merge. Thanks again!
(I'll close the bug then.)</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>