Boost logo

Boost :

From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2007-07-19 21:41:34


iain.denniston_at_[hidden] 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-Extensions


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk