Advertisement

Fast 4x4 Matrix Inverse with SSE SIMD, Explained

Started by September 06, 2017 04:09 AM
0 comments, last by lxjk 7 years, 5 months ago

Hi guys,

I'm writing my math library and implemented some matrix inverse function I would like to share.

The SIMD version I got is more than twice as fast as non-SIMD version (which is what Unreal is using). It is also faster than some other math libraries like Eigen or DirectX Math.

chart.jpg.1cb28518ee800ad1f960c5b9d5e74c56.jpg

(result from my test, the first 3 columns are my methods)

 

If you are interested in either theory or implementation, I put together my math derivation and source code in this post:

https://lxjk.github.io/2017/09/03/Fast-4x4-Matrix-Inverse-with-SSE-SIMD-Explained.html

I would appreciate any feedback :)

This topic is closed to new replies.

Advertisement