[LLVMbugs] [Bug 20056] New: [AArch64] [Assembler] LDR x0, =<literal> not recognized
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Jun 16 13:24:01 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=20056
Bug ID: 20056
Summary: [AArch64] [Assembler] LDR x0, =<literal> not
recognized
Product: new-bugs
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: weimingz at codeaurora.org
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
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:
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0802a/CJAHAIBC.html
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140616/7d9b895f/attachment.html>
More information about the llvm-bugs
mailing list