[LLVMbugs] [Bug 13537] New: llvm-mc incorrectly assembles ADR instructions for ARM

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Aug 6 10:29:03 PDT 2012


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

             Bug #: 13537
           Summary: llvm-mc incorrectly assembles ADR instructions for ARM
           Product: tools
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: llvm-as
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: gregf at codeaurora.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


For the ARMv7 instruction set, llvm-mc should not store the bottom 2 bits of
the immediate in an ADR instruction.  When assembling, it
should divide the immediate by 4 and store the result.  Se A8.8.12, Encoding T1
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.



More information about the llvm-bugs mailing list