
20 Jul
2007
20 Jul
'07
1:41 a.m.
iain.denniston@blueyonder.co.uk wrote:
I played around with a SIMD abstraction layer for a while - the goal being to create a thin wrapper around SIMD code to allow simple compile time switches between different archtechtures SIMD implementations (particularly x86 vs. PowerPC vs. Software - due to Xbox 360 and PC).
Most good compilers already have that kind of thing using built-ins. Here is how to do it with GCC for example: http://gcc.gnu.org/onlinedocs/gcc-4.2.0/gcc/Vector-Extensions.html#Vector-Ex...