$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
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