[linux-audio-user] moterhboard and sound card advise
    Stefan Scheffler 
    stefanscheffler at gmx.net
       
    Thu Jul  1 18:21:49 EDT 2004
    
    
  
Malcolm Baldridge schrieb:
>gcc options as a starting point:
>
>CFLAGS='-O2 -mfpmath=sse -msse2 -march=pentium4 -mcpu=pentium4 \
>-fomit-frame-pointer -s' CXXFLAGS='-O2 -mfpmath=sse -msse2 \
>-march=pentium4 -mcpu=pentium4 -fomit-frame-pointer -s' ./configure blah..
>
>=MB=
>  
>
minor nit because I see that very often. :) from the gcc man page:
       -march=cpu-type
           Generate instructions for the machine type cpu-type.
           The choices for cpu-type are the same as for -mcpu.
           Moreover, specifying -march=cpu-type implies
           -mcpu=cpu-type.
The extra -mcpu is unnesessery :). And theres a -mmmx switch, but I 
don't know if it is that useful for DSP, since the mmx instructions are 
integer only.
Good thing you didn't recommend -O3. I've seen instances where it was 
much slower than -O2.
    
    
More information about the Linux-audio-user
mailing list