This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]