<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 --- - [AArch64] [Assembler] LDR x0, =<literal> not recognized"
href="http://llvm.org/bugs/show_bug.cgi?id=20056">20056</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[AArch64] [Assembler] LDR x0, =<literal> not recognized
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</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>weimingz@codeaurora.org
</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>AArch64 Assembler doesn't recognize pseudo asm "LDR Xd, =expr "
ARMv7 supports it
AArch64 test:
a.s:
.text
ldr x0, =0x123
llvm-mc -arch aarch64 a.s
.text
a.s:2:9: error: unknown token in expression
ldr x0, =0x123
^
a.s:2:9: error: invalid operand
ldr x0, =0x123
ARM v7 test:
b.s
.text
ldr r0, =0x123
llvm-mc -arch arm b.s
.text
ldr r0, .Ltmp0
.align 2
.Ltmp0:
.long 291
Description of the instruction:
<a href="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0802a/CJAHAIBC.html">http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0802a/CJAHAIBC.html</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>