Re: [Emc-developers] Link-time optimization in realtime objects

2019-08-16 Thread schoone...@gmail.com
On 16/08/19 13:04, Robert Ellenberg wrote: Hi All, Has anyone tried to use link-time optimization in the realtime object builds? I think the motion / TP build would be a good candidate for it, so we could improve inlining of things like posemath. Best, Rob Hi Rob, In an ideal world, the

Re: [Emc-developers] Link-time optimization in realtime objects

2019-08-16 Thread mydani
Hi all, the link-time optimization as such is highly dependant on the target architecture (as well as the compiler/linker suite of course). While on smaller, more simple core architectures, e.g. small µCs, the effect can be quite large, on µP architectures with complex multi level caches,

Re: [Emc-developers] Link-time optimization in realtime objects

2019-08-16 Thread Nicklas Karlsson
> ... > I think the only way to find out is to test it. > On the face of it, short functions, repeatedly used, should benefit from it. Then programming for Micro controller I quite often then there is no or little difference between different methods for other reasons check size of compiled