[speex-dev] Speex 1.1.4 is out

Aron Rosenberg aron at sightspeed.com
Wed Jan 21 12:21:04 PST 2004



Jean-Marc,

         Is it a problem if all the files are compiled with -march=pentium3 
? The patch that we sent in already detects in the configure.in script 
which system you are on and sets a define correctly, i.e. _USE_SSE.

Aron Rosenberg
SightSpeed

At 11:05 AM 1/21/2004, you wrote:
> > 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

<p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'speex-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Speex-dev mailing list