[LLVMbugs] [Bug 13803] New: llvm-mc treats .n suffix as .w suffix for ADC

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Sep 9 17:18:17 PDT 2012


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

             Bug #: 13803
           Summary: llvm-mc treats .n suffix as .w suffix for ADC
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: ARM
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: gregf at codeaurora.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Fails:

  echo "adc.w r0, r1, #1" | llvm-mc -triple=thumbv7 -show-encoding

Also fails for 'sbc.w' and its variants.


Workaround:

  echo "adc r0, r1, #1" | llvm-mc -triple=thumbv7 -show-encoding


Awkward workaround, use ".n", but it is still encoded with 32-bits:

  echo "adc.n r0, r1, #1" | llvm-mc -triple=thumbv7 -show-encoding

-- 
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