[ros-users] Question about cmake and SSE optimizations

Jose Gonzalez de0a100 at gmail.com
Tue Mar 23 16:06:35 UTC 2010


Hi,

Doing some experiments in the past with OpenCV (linux/g++) I realized
that there is a significant performance difference between the
versions compiled with autoconf and cmake. Digging in the compilation
scripts I came to the conclusion that the only extra flags that were
added by the autoconf scripts were the SSE optimizations (and openMP).

Talking about the SSE optimizations, I can see how ROS sets the flags
in a similar way. When the detected platform is i686, all the SSE
optimizations are disabled by default (there is a comment "SSE/SSE2
might probably be not available for some old AMD or VIA processors").
Before finding out a solution by myself I'd like to ask the list if
somebody knows a standard way of testing for SSE optimizations in
cmake.

Thanks,
Jose

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
ros-users mailing list
ros-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ros-users



More information about the ros-users mailing list