<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">I've not run any on non-iOS devices, and haven't looked at GCC since v4.2.1 due to licensing issues, so I don't have a good feel for comparative benchmarking.<div><br></div><div>-Jim<br><div><br><div><div>On Feb 26, 2013, at 4:20 PM, Reed Kotler <<a href="mailto:rkotler@mips.com">rkotler@mips.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">What about benchmarks on other Arm devices?<br><br>On 02/26/2013 02:52 PM, Jim Grosbach wrote:<br><blockquote type="cite">Cortex-M0 is a Thumb1 only device. There hasn't been any concerted<br>effort to tune LLVM's Thumb1 output in quite a long time. Even back then<br>(2008 or so), the effort was mainly to get it to work acceptably, with<br>the real performance tuning work being done for Thumb2. I'm not<br>surprised that an embedded market focussed compiler like IAR is better<br>tuned for a chip like that.<br><br>-Jim<br><br>On Feb 26, 2013, at 2:11 PM,<span class="Apple-converted-space"> </span><a href="mailto:matic@nimp.co.uk">matic@nimp.co.uk</a><span class="Apple-converted-space"> </span><<a href="mailto:matic@nimp.co.uk">mailto:matic@nimp.co.uk</a>><br>wrote:<br><br><blockquote type="cite">Hi,<br><br><br>I didn't do any serious benchmarking but so far I never found a case<br>where LLVM does better than IAR on CortexM0, but I saw a lot of cases<br>where IAR output is better than LLVM...<br><br>That said I did not use -Os or -Oz, I just used -O3.<br><br>A recurrent situation is that LLVM push/pop one or two extra registers<br>compared to IAR, I guess it does so in order to comply with a standard<br>ABI or something but in the world of deeply embedded system, we don't<br>care of such things 99.99% of the time...<br><br>If you want to see some good code output, take a look at IAR, there is<br>a free version limited in code size online.<br><br>Cheers,<br><br>Sebastien<br><br>_______________________________________________<br>LLVM Developers mailing list<br><a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a><br><<a href="mailto:LLVMdev@cs.uiuc.edu">mailto:LLVMdev@cs.uiuc.edu</a>><a href="http://llvm.cs.uiuc.edu/">http://llvm.cs.uiuc.edu</a><br><<a href="http://llvm.cs.uiuc.edu/">http://llvm.cs.uiuc.edu/</a>><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br></blockquote><br><br><br>_______________________________________________<br>LLVM Developers mailing list<br><a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a><span class="Apple-converted-space"> </span>        <a href="http://llvm.cs.uiuc.edu/">http://llvm.cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a></blockquote></div></blockquote></div><br></div></div></body></html>