Wow, thank you for that.  Somehow never had come across the -ftlo flag…  from a 
quick test it seems quite impressive :)


On Jul 25, 2014, at 9:32 PM, Paul Fertser <[email protected]> wrote:

> Hi,
> 
> Thank you, Tymm.
> 
> A vaguely related note below.
> 
> On Fri, Jul 25, 2014 at 12:16:23PM -0700, Tymm Twillman wrote:
>> Development style is such that tiny functions that should require
>> only a few instructions are done as static inline
> 
> I've recently tried using LTO and so far I'm quite pleased with the
> results, the code size reduction is very noticeable and it looks like
> with LTO one can get away without static inline.
> 
> This is not to imply that you're doing something wrong (quite to the
> contrary) but to encourage list members to try enabling LTO one day.
> 
> Happy hacking!
> -- 
> Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
> mailto:[email protected]


------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
libopencm3-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libopencm3-devel

Reply via email to