[LLVMbugs] [Bug 4687] New: arm10tdmi (armv5) does not support strd

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Aug 5 20:08:26 PDT 2009


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

           Summary: arm10tdmi (armv5) does not support strd
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Backend: ARM
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nlewycky at google.com
                CC: llvmbugs at cs.uiuc.edu


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

LLVM is emitting bad assembly for the attached testcase:

$ llc -O2 -mcpu=arm10tdmi x.bc -o - | grep cpu
        .cpu arm10tdmi
$ llc -O2 -mcpu=arm10tdmi x.bc -o - | grep strd
        strd r0, [r6]
        strd r0, [r6, #+8]
$ llc -O2 -mcpu=arm10tdmi x.bc -o - | as
{standard input}: Assembler messages:
{standard input}:545: Error: selected processor does not support `strd r0,[r6]'
{standard input}:551: Error: selected processor does not support `strd
r0,[r6,#+8]'

Apparently ARMv5 is too old for the 'strd' instruction. (Or perhaps my binutils
just thinks it is.)


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