[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


            Bug ID: 20056
           Summary: [AArch64] [Assembler] LDR x0, =<literal> not
           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:
ldr x0, =0x123

llvm-mc -arch aarch64 a.s

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:
ldr r0, =0x123

llvm-mc -arch arm b.s 

    ldr    r0, .Ltmp0
    .align    2
    .long    291

Description of the instruction:

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