I’m making an vector/matrix library for Game which utilizes SIMD unit on iPhone (3GS or later).
How can I do this?
I searched about this, now I know several options:
- Accelerate framework (BLAS+LAPACK+…) from Apple (iPhone OS 4)
- OpenMAX implementation library from ARM
- GCC auto-vectorization feature
What’s the most suitable way for vector/matrix library for game?
To do it well you will probably need to write your own SIMD routines. Use the Neon C intrinsics in gcc rather than assembler to ease the pain of doing this.