Article View: gnu.gcc.help
Article #53211Re: Benchmarks of GCC 2.0
From: Arthur David Olson
Date: Thu, 05 Mar 1992 14:38
Date: Thu, 05 Mar 1992 14:38
20 lines
1559 bytes
1559 bytes
> If you're in the mood to mix and match flags and tinker with options, > try using some or all of the following with the Sun compilers: > > -fast > -fast -Bstatic > -fast -O3 > -fast -O3 -Bstatic <-- I recommend this for a first try at speed. > -fast -O4 > -fast -O4 -Bstatic Note, though, that Sun's bundled C compiler is known to produce bad code at optimization levels above -O1 on SPARCs, and at *any* optimization level on Sun 3's. For benchmarking purposes, the thing to do is run the compiler at the highest level known to produce good code--but no higher. (And yes, the appearance of "-fast" above makes it clear that the original writer is refering to Sun's extra-cost compiler.) -- Arthur David Olson ado@elsie.nci.nih.gov ADO and Elsie are Ampex and Borden trademarks
Technical Details
Message-ID:
<1992Mar5.143836.28403@alw.nih.gov>Path:
arc1-ca.pugleaf.net!sparky!uunet!nih-csl!flower.nci.nih.gov!adoReferences:
<1992Feb23.213917.13705@murdoch.acc.Virginia.EDU> <kqrpiuINNbup@exodus.Eng.Sun.COM>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,594f013cff35018a X-Google-Attributes: gid11318c,public X-Google-Thread: 1025b4,e63d5b04b0b2c1eb X-Google-Attributes: gid1025b4,public X-Google-ArrivalTime: 1992-03-05 16:19:10 PST Newsgroups: gnu.gcc.help,gnu.misc.discuss Path: arc1-ca.pugleaf.net!sparky!uunet!nih-csl!flower.nci.nih.gov!ado From: ado@flower.nci.nih.gov (Arthur David Olson) Subject: Re: Benchmarks of GCC 2.0 Message-ID: <1992Mar5.143836.28403@alw.nih.gov> Followup-To: gnu.misc.discuss Sender: postman@alw.nih.gov (AMDS Postmaster) Organization: National Institutes of Health References: <1992Feb23.213917.13705@murdoch.acc.Virginia.EDU> <kqrpiuINNbup@exodus.Eng.Sun.COM> Date: Thu, 5 Mar 1992 14:38:36 GMT