http://llvm.org/bugs/show_bug.cgi?id=13536

             Bug #: 13536
           Summary: llvm-mc does not use 16-bit instruction to encode
                    pc-relative LDR
           Product: tools
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: llvm-as
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


This is currently encoded as a 32-bit instruction:
ldr r0, [pc, #4]

It could be translated to:
ldr, r0, #4

and encoded as the 16-bit instruction described at A8.8.64 in the ARMv7-A
reference manual.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to