On 10/25/2016 12:22 PM, Larry Evans wrote: [snip]
From the above, the LibFlatArray and SSE methods are the fastest. I'd guess that a new "SoA block SSE" method, which uses the _mm_* methods, would narrow the difference. I'll try to figure out how to do that. I notice:
#include
doesn't produce a compile error; however, that #include doesn't have the _mm_add_ps used here:
https://github.com/cppljevans/soa/blob/master/soa_compare.benchmark.cpp#L621
Do you know of some package I could install on my ubuntu OS that makes those SSE functions, such as _mm_add_ps, available?
[snip]
Never mind. Google for:
__mm128
lead to:
http://stackoverflow.com/questions/11679741/vector-of-mm128-wont-push-back
and change of #include to:
#include