<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 --- - llc uses feature rsqrt.approx.ftz.f64 that requires a later version" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D23674&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=M10SgU_tY6_3Cl9jTp4Q5lK3Rb39qM2BC6E_7R72WBQ&s=FqODJgJcKL2webVfjvLi-w7KbSybU4N6X2vuC_p7mlQ&e=">23674</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>llc uses feature rsqrt.approx.ftz.f64 that requires a later version
</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: PTX
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>hahnjo@hahnjo.de
</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>I'm using the trunk version of clang-omp and it tries to compile the CUDA
library libdevice with the following commands (a bit simplified):
$ opt <cuda-dir>/nvvm/libdevice/libdevice.compute_35.10.bc -O1 -nvvm-reflect -o
libdevice.bc
$ llc libdevice.bc -o libdevice.ptx -mcpu=sm_35
$ ptxas libdevice.bc -o libdevice.cubin -arch sm_35
CUDA Toolkit 7.0.28 then complains:
ptxas libdevice.ptx, line 19566; error : Feature 'rsqrt.approx.ftz.f64'
requires PTX ISA .version 4.0 or later
[...]
Could as well be an error in libdevice...</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>