ofxSIMDFloats is an addon for openFrameworks that implements allocation of arrays of memory-aligned floats and SIMD-accelerated mathematical operations on those arrays. Works with SSE2 on x86 processors and NEON on ARM, works Linux, Window, OSX, still to test on Android and iOS (but it should work). Remember to compile with optimizations enabled ( -O2 or -O3 ). Check example-guide for a quick tutorial. Remember to execute example-performance and check the performance improvements on all the operations, sometimes the compiler already generating accelerated code, but remember that the example is easy to vectorize for the compiler and by simply restructuring your code as structs-of-arrays you can achieve a performance boost. I've seen the best improvements on the Raspberry Pi and on a Window i3 machine, and the code for all the mathematical functions (sin, cos, log ... ) are always faster (when compiled with -O3 ).

--->get it on github<---