On 12 October 2013 23:00, Amara Emerson <amara.emerson at gmail.com> wrote:> Hi Jan, > > For Cortex-M0, you should probably use the armv6m string in the target > triple. For M3 and M4 you need to use the thumbv7m arch string, -mthumb > won't be necessary. >Yes, but I agree with Jim that a bug must be filled. Jan, would you mind filling a bug? http://llvm.org/bugs/enter_bug.cgi?product=clang cheers, --renato -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131012/fcf942ad/attachment.html>
Bernard Ogden
2013-Oct-14 16:38 UTC
[LLVMdev] Generate code for ARM Cortex m0, m3, and m4.
I've got a trivial fix for this problem, and another one which manifests when thumb is given without an explicit CPU. I'll start pushing it through our submissions process. On Saturday, 12 October 2013, Renato Golin wrote:> On 12 October 2013 23:00, Amara Emerson <amara.emerson at gmail.com<javascript:_e({}, 'cvml', 'amara.emerson at gmail.com');> > > wrote: > >> Hi Jan, >> >> For Cortex-M0, you should probably use the armv6m string in the target >> triple. For M3 and M4 you need to use the thumbv7m arch string, -mthumb >> won't be necessary. >> > > Yes, but I agree with Jim that a bug must be filled. > > Jan, would you mind filling a bug? > > http://llvm.org/bugs/enter_bug.cgi?product=clang > > cheers, > --renato >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131014/5f937561/attachment.html>
Thanks Bernie, Feel free to assign yourself to the bug report, just so we know someone is working on it. cheers, -renato On 14 October 2013 17:38, Bernard Ogden <bogden.dev at gmail.com> wrote:> I've got a trivial fix for this problem, and another one which manifests > when thumb is given without an explicit CPU. I'll start pushing it through > our submissions process. > > > On Saturday, 12 October 2013, Renato Golin wrote: > >> On 12 October 2013 23:00, Amara Emerson <amara.emerson at gmail.com> wrote: >> >>> Hi Jan, >>> >>> For Cortex-M0, you should probably use the armv6m string in the target >>> triple. For M3 and M4 you need to use the thumbv7m arch string, -mthumb >>> won't be necessary. >>> >> >> Yes, but I agree with Jim that a bug must be filled. >> >> Jan, would you mind filling a bug? >> >> http://llvm.org/bugs/enter_bug.cgi?product=clang >> >> cheers, >> --renato >> >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131014/05f76134/attachment.html>
Possibly Parallel Threads
- [LLVMdev] Generate code for ARM Cortex m0, m3, and m4.
- [LLVMdev] Generate code for ARM Cortex m0, m3, and m4.
- [LLVMdev] Generate code for ARM Cortex m0, m3, and m4.
- [LLVMdev] Generate code for ARM Cortex m0, m3, and m4.
- [LLVMdev] Setting up a cross-compiler for cortex-m3