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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to