<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 --- - powerpc integrated-as doesn't support '$+n'/'$-n' syntax"
href="http://llvm.org/bugs/show_bug.cgi?id=17353">17353</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>powerpc integrated-as doesn't support '$+n'/'$-n' syntax
</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>MC
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>nlewycky@google.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>As of r191105, this syntax fails:
$ echo 'bcl 20,31,$+4' | llvm-mc -arch ppc64
.text
<stdin>:1:11: error: invalid token in expression
bcl 20,31,$+4
^
<stdin>:1:11: error: unknown operand
bcl 20,31,$+4
^
<stdin>:1:12: error: unexpected token at start of statement
bcl 20,31,$+4
^
This shows up in openssl's "aes-ppc.S", "sha512-ppc.S" and "sha256-ppc.S".
Also,
$ echo 'bdnz $-8' | llvm/Debug+Asserts/bin/llvm-mc -arch ppc64
.text
<stdin>:1:6: error: invalid token in expression
bdnz $-8
^
<stdin>:1:6: error: unknown operand
bdnz $-8
^
<stdin>:1:7: error: unexpected token at start of statement
bdnz $-8
^
shows up in openssl's "ppccpuid.S". I'm not familiar enough with the assembly
to know whether this is sensible or if openssl should be changed?</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>