looking for a proof for every optimizier flag (c/c++)

Tim Prince tprince@computer.org
Mon Jun 3 05:40:00 GMT 2002


On Monday 03 June 2002 04:04, Joerg Beyer wrote:
> Hi,
>
> I am looking for a small piece of c/c++ source for (if possible)
> every optimizer flag gcc has, to check/test/proof how good this
> optimization works. e.g.: a simple function will benefit from
> inlining, for loops will benefit from loop unrolling and so on.
>
> I would like to build a small benchmark (as seen on
> http://cbench.sourceforge.net ) for each optimizer flag. If anybody
> has a small piece of code that benefits from a single (or combination)
> of optimizer flags, I would ask him to mail me this source.
>
> If there is general interest, than I could sumarize what I found out
> into a small howto-use-optimizer-flags text and post it.
>
>     Thanks in advance
>     Joerg
>
> ps: please cc me, since I am not on the list.
This will be platform, (somewhat) language, and compiler version dependent.  
Can you be more precise about your interests?  If this generates any 
interest, how will you follow it if you choose not to subscribe to the list?
-- 
Tim Prince



More information about the Gcc mailing list