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:

Boost list run by bdawes at, gregod at, cpdaniel at, john at