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

2019-08-15 Thread Robert Ellenberg
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 ___ Emc-developers mailing list Emc-de

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

2019-08-15 Thread Paul Kessler
Robert, What do you mean by "in-lining of things like posemath". I have been having some trouble with the math in LinuxCNC. I took the work that was done for maxkins (RTCP) and changed it for my machine as one kinematic model I can use. I also have a second one that uses trivkins kinematic.

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

2019-08-15 Thread Robert Ellenberg
Hi Paul, I meant inlining as in what the compiler / linker does instead of calling a function explicitly. I was speculating that some low-level math in motion / TP might be sped up if link-time-optimization can do more inlining of small functions. For example, here's an article on how it can be u