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

Re: permanently turning on gcc Pentium optimization



On Sat, Jan 01, 2000 at 03:45:30AM +0000, Paul J. Keenan wrote:
> 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 ?
> 

Well don't do it if you're a package maintainer.  On many CPUs the
"optimisations" actually slow things down, and nobody wants that. 

Sorry, though, I don't know the answer to your question.
 
-- 
"If you continue running Windows, your system may become unstable."
     -- Windows 95 BSOD

Dwayne C. Litzenberger - dlitz@cheerful.com

Please always Cc to me when replying to me on the lists.

Advertising Policy: http://www.redrival.com/dlitz/spamoff.html
GnuPG Public Key:   http://www.redrival.com/dlitz/gpgkey.asc
     Fingerprint:   0535 F7CF FF5F 8547 E5A5 695E 4456 FB6C BC39 A4B0

Attachment: pgpoqZ4ei0wMS.pgp
Description: PGP signature


Reply to: