Kyle, <superhero> This sounds like a job for VOLK! </superhero>
Seriously, sounds like your block could benefit from all the nice housekeeping that Volk takes care of for you, including runtime auto-detection of platform support, conditional compiling based on compiler support, and alignment reporting. Consider including at least the crunchy SSE core in libvolk. Check out the Volk guide in the documentation for instructions. --n On Sun, Sep 16, 2012 at 9:50 PM, Kyle Zhou <kyle...@gmail.com> wrote: > I have a block which depends on sse2. I need to tell cmake to check if the > cpu support sse2 in order to determine if the sse2 acceleated version or a > generic version should be used. > This should be straight forward. However, I just cannot find an example > CMakeLists.txt to get me a quick start. > Any suggested readings? thanks > K Z > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio