[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: permanently turning on gcc Pentium optimization



I accidently deleted the previous mails in the thread,
so I'm hoping the original poster get's this !

To permanently turn on pentium optimizations, change
your /usr/lib/gcc-lib/2.92.2/specs (or similar) from

*cc1:
%(cc1_cpu) %{profile:-p}

*cc1:
%(cc1_cpu) %{profile:-p} -march=i586

As others have pointed out, the gains may be limited
with respect to the amount of work you do recompiling,
but I'm of the opinion that even of you get a 1% gain
then it (shouldn't) do any harm, so why not ?

-- 
Regards,
Paul


Reply to: