[LLVMbugs] [Bug 13805] New: llvm-mc rejects '.w' suffix for Moves-with-shift instructions

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


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

             Bug #: 13805
           Summary: llvm-mc rejects '.w' suffix for Moves-with-shift
                    instructions
           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 "mov.w r0, r1, lsl #1" | llvm-mc -triple=thumbv7


Workarounds include dropping the '.w' suffix, and using the 'lsl' instruction:
  echo "mov r0, r1, lsl #1" | llvm-mc -triple=thumbv7
  echo "lsl.w r0, r1, #1"   | llvm-mc -triple=thumbv7

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