<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 --- - fpowi handling on 64-bit architectures"
href="http://llvm.org/bugs/show_bug.cgi?id=21042">21042</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>fpowi handling on 64-bit architectures
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>3.4
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</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>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>rcgorton@cognitive-electronics.com
</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>Created <span class=""><a href="attachment.cgi?id=13075" name="attach_13075" title="a partially compiled to .ll example">attachment 13075</a> <a href="attachment.cgi?id=13075&action=edit" title="a partially compiled to .ll example">[details]</a></span>
a partially compiled to .ll example
When compiling the attached .ll file, compilation for 64-bit targets assert
with "do not know how to promote this operator's operand". sparcv9, powerpc,
aarch64.
The culprit is the fpowi() opcode. I tried to add cases in
PromoteIntegerResult and PromoteIntegerOperand, but I get other asserts.
Either I'm missing something in my implementation (quite possible) or there is
a deeper problem with assumptions about the datatypes of opcodes.
The original source is slamchf77.f compiled with gcc4.6.0 + dragonegg to a .ll
file.
Richard Gorton
<a href="mailto:rcgorton@cog-e.com">rcgorton@cog-e.com</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>