[linux-audio-dev] Re: Steve Harris' C++ v C benchmark

Roger Larsson roger.larsson at skelleftea.mail.telia.com
Mon Feb 17 02:47:00 UTC 2003


Some quick note:

Testing that i have done suggest that you should ALWAYS define the
architecture of your target. (I have not checked if the example does this
but it is usually forgot...)

 -march=pentium3
or if you need it to run on older computers
 -mcpu=pentium3
(see man gcc search for "Intel 386")

And at least use optimization level -O1 (use -O3 to get automatic inlining)

/RogerL

-- 
Roger Larsson
Skellefteå
Sweden




More information about the Linux-audio-dev mailing list