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

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] Re: Steve Harris' C++ v C benchmark
From: Roger Larsson (roger.larsson_AT_skelleftea.mail.telia.com)
Date: Mon Feb 17 2003 - 09:34:10 EET


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


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Mon Feb 17 2003 - 09:44:07 EET