News for hackers. Stuff that matters.
Re:Show HN: Empirical – a language for time-series analysis by corysama on Wednesday May 22, 2019 @01:08PM (#19983186)
Looking at interpret.cpp for SIMD potential: I bet you could add an allocator for std::vector that aligns and pads everything to 32 bytes then just replace all of the scalar op loops with loops over AVX intrinsics. No need for an external library.
Re:Show HN: Empirical – a language for time-series analysis by chrisaycock on Wednesday May 22, 2019 @02:07PM (#19983777)
That's a possibility to get something running near term. I'm trying to avoid CPU-specific intrinsics since I have a fantasy that this might be run on ARM in the future, though that may be getting really ahead of myself.
Re:Show HN: Empirical – a language for time-series analysis by corysama on Wednesday May 22, 2019 @02:24PM (#19983973)
NEON intrinsics are pretty easy as well ;) As long as you are doing simple +-*&| ops they work the same as SSE.