[ros-users] Question about cmake and SSE optimizations
Jack O'Quin
jack.oquin at gmail.com
Tue Mar 23 21:07:15 UTC 2010
On Tue, Mar 23, 2010 at 2:37 PM, Radu Bogdan Rusu <rusu at willowgarage.com> wrote:
> Ah yes, binaries... darn. Remember when you used to compile your entire OS from scratch? Those were the days.
>
> It's not going to be easy to provide binary packages for all architectures/optimizations. I mean 32bit vs 64bit is one
> thing, but now if we want different packages for SSE, SSE2, SSE3, SSE4... that won't go well.
>
> Something tells me that we might want to keep these things as cmake macros for source packages, and just go with one or
> two optimizations for binary ones (?).
Some audio programs have addressed this problem by writing code that
figures out the architecture at runtime and applies the appropriate
instructions in a single binary.
That's only good for a small number of optimizations, but often only a
few loops matter.
--
joq
More information about the ros-users
mailing list