dimforge / nalgebra

Linear algebra library for Rust.
https://nalgebra.org
Apache License 2.0
3.92k stars 465 forks source link

x86_64 SSE support #299

Open moonheart08 opened 6 years ago

moonheart08 commented 6 years ago

Giving nalgebra the ability to use SSE/SSE2/SSE3/SSE4/AVX instructions to preform matrix/vector computations on compatible x86 platforms would be a rather good idea, considering SSE was designed for that type of processing. It could result in small-medium amounts of speedup (Which, as this is a mathematics library, is a very important thing) I'm willing to investigate how to do it myself, but doing it alone would be nigh impossible.

brendanzab commented 6 years ago

I think @sebcrozet has made sure that nalgebra vercorises nicely, but alas it is limited to high optimizatation levels, so debug builds don't benefit. See the discussion on #274 for more information!