[LLVMbugs] [Bug 7496] New: Thumb1 mode generating illegal add instructions

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jun 25 14:26:16 CDT 2010


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

           Summary: Thumb1 mode generating illegal add instructions
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=5111)
 --> (http://llvm.org/bugs/attachment.cgi?id=5111)
Testcase

Reproduction steps:
1. Run "llc -march=thumb -mattr=+v6,-thumb2 -o gccbad.s gccbad.bc" on the
atached .bc file.
2. Run "as -o gccbad.o gccbad.s -march=armv6" on the resulting .s file (with
ARM as)

Expected result:
.o file successfully generated.
I'm on x86-64 Linux, which could conceivably matter.
Actual result:
/tmp/gccbad.s: Assembler messages:
/tmp/gccbad.s:253: Error: cannot honor width suffix -- `add r1,r7'

I'm on x86-64 Linux, which could conceivably matter.

-- 
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 LLVMbugs mailing list