Paralithic icon indicating copy to clipboard operation
Paralithic copied to clipboard

Experimental FMA support

Open dfsek opened this issue 10 months ago • 0 comments

This PR adds experimental FMA support as well as several other general optimisations. FMA support can be enabled by setting the JVM option -Dparalithic.optimisation.fma=true.

It is disabled by default because I have not thought of a good way to check if the platform supports intrinsic FMA, and if it does not, FMA is much, much slower than a standard multiply-add.

I also redid the performance tests in JMH to get better metrics.

dfsek avatar Apr 10 '24 15:04 dfsek