Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm looking for a SIMD library focused small (4x4) matrix operations for graphics. There's lots of single precision ones out there, but I need to support both single and double precision.

I've looked at Intel's IPP MX library, but I'd prefer something with source. I'm very interested in SSE3+ implementations of these particular operations:

  1. Mat4 * Mat4
  2. Mat4 * Vec4
  3. Mat4 * Array of Mat4
  4. Mat4 * Array of Vec4
  5. Mat4 inversion (nice to have)
share|improve this question
up vote 1 down vote accepted

Here's a project that isn't bad: SIMDx86, especially if you are just looking for source.

share|improve this answer
I don't see any evidence that supports double precision. – user744 Apr 22 '11 at 18:50
I'll bug the project maintainer about that... had thought it was. :( – ChrisE Apr 22 '11 at 19:43
Thanks, unfortunately no DP. It's actually really difficult to find, the closest was but this library looks a bit unfocused for games performance. – Justicle Apr 22 '11 at 22:01
If that was an answer, I'd vote it up. I don't think you will find any libraries focused on games supporting doubles, because you never really need vectorized doubles in games. – user744 Apr 23 '11 at 8:48
Its not strictly for a games dev project - but I usually get better answers on stuff like this here than stackoverflow - over there you just get "premature optimization" answers. – Justicle Apr 24 '11 at 2:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.