Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualTom KQT

Posted 10 July 2013 - 01:52 AM

I once tried to make my own small matrix math library, because I needed just few basic operations and didn't want to include the whole D3DX for it. When I implemented matrix multiplication I was quite surprised that it indeed was slower (I don't remember how much, but it was quite noticable).

And multiplication is a very simple algorithm, there really isn't much room for mistakes.

 

The reason is that functions like D3DXMatrixMultiply are written directly in asm and are using SSE.

 

http://www.gamedev.net/topic/430741-d3dxmatrixmultiply-implimentation/


#1Tom KQT

Posted 10 July 2013 - 01:51 AM

I once tried to make my own small matrix math library, because I needed just few basic operations and didn't want to include the whole D3DX for it. When I implemented matrix multiplication I was quite surprised that it indeed was slower (I don't remember how much, but it was quite noticable).

And multiplication is a very simple algorithm, there really isn't much room for mistakes.

Functions like D3DXMatrixMultiply are written directly in asm and are using SSE.

 

http://www.gamedev.net/topic/430741-d3dxmatrixmultiply-implimentation/


PARTNERS