[speex-dev] Speex 1.1.4 is out

Jean-Marc Valin Jean-Marc.Valin at USherbrooke.ca
Wed Jan 21 11:05:50 PST 2004


> Am I right with the assumption, that currently you have to enable
> processor specific optimizations with compile/configure options?
> 
> How difficult would it be to add support for runtime CPU detection?
> Is this a feature you might consider adding?

Pretty complicated because of some annoying decisions taken by the gcc
team. The problem is that gcc won't let you use intrinsics unless the
file is compiled with -march=pentium3 (or higher). Unfortunately, this
means you have to put all the SSE stuff in another file, which is
complicated for some of the Speex files. Also, you have to find a
portable way to get the build system use different compilation switches
for different files. Last thing, it also makes the detection function
less trivial.

        Jean-Marc


-- 
Jean-Marc Valin, M.Sc.A., ing. jr.
LABORIUS (http://www.gel.usherb.ca/laborius)
Université de Sherbrooke, Québec, Canada


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Ceci est une partie de message numériquement signée.
Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20040121/43f1fe97/signature.pgp


More information about the Speex-dev mailing list