|
Boost : |
Subject: Re: [boost] How to structurate libraries ?
From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2009-01-15 13:12:54
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday 15 January 2009 09:02 am, Joel Falcou wrote:
> * Arch.SIMD : a SIMD computation library that provides a small scale
> binding to internal representation of a SIMD register on SIMD-enabled
> machine. Using Proto, a small DSEL is provided so one can write code like :
>
> vec<float> k = {5,5,5,5},r;
> r = ((2*k)/(3-k)).min();
>
> and have vec generate a proper SSEx or Altivec code.
Isn't SIMD-type stuff what valarray was designed for? I don't think a SIMD
optimized valarray requires its own DSEL, there is the macstl implementation
that has been around for a while.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFJb3ym5vihyNWuA4URAg2MAKC/VF0l9dzlETPUl9womjr01dzg0ACfbQym
ssBFEuu0tctPLpWzZcWkXPE=
=QK3i
-----END PGP SIGNATURE-----
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk