We aim to provide an up-to-date library of information for SIMD architectures, like algorithms, tutorials, comparisons, benchmarks, etc.

Inverse of Matrix 4x4 using partitioning

Submitted by markos on Fri, 04/18/2008 - 17:31.

We tackle the 4x4 matrix inversion using the matrix partitioning method, as described in the "Numerical Recipes in C" book (2nd ed., though I guess it will be similar in the 3rd edition). Using the AltiVec SIMD unit, we achieve almost 300% increase in performance, making the routine the fastest -at least known to us, matrix inversion method!

SIMD

AltiVec runtime detection in Linux

Submitted by markos on Thu, 04/10/2008 - 14:01.

After a little search I did on Google to find how to detect AltiVec runtime in Linux (I used keywords such as runtime altivec detection and similar), I found that there is no single nice article anywhere that describes something so simple. Thankfully, I got a few good answers from benh and dwmw2 in #mklinux/FreeNode, and I decided to put these down in a cleaned up form.

SIMD

memcmp()

Submitted by markos on Thu, 03/06/2008 - 13:57.

memccpy()

Submitted by markos on Wed, 03/05/2008 - 21:47.

memrchr()

Submitted by markos on Wed, 03/05/2008 - 21:18.