Re: [ros-users] Question about cmake and SSE optimizations

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jack O'Quin
Date:  
To: Radu Bogdan Rusu, ros-users
CC: Rosen Diankov
Subject: Re: [ros-users] Question about cmake and SSE optimizations
On Tue, Mar 23, 2010 at 2:37 PM, Radu Bogdan Rusu <> 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