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

           Summary: LLVM unnecessarily uses LDRB/STRB on Cortex-M3
           Product: libraries
           Version: 2.9
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: ARM
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Cortex-M3 can handle unaligned loads/stores unless a system flag has been set
to disable it. So, it would be nice if there were an option to prevent LLVM
from generating tons of LDRB/STRB instructions when it thinks the value is
unaligned. Especially as this processor typically is paired with say, 16 KB of
code space, and the LDRB/STRB balloons things to twice or more. :)

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