looking for a proof for every optimizier flag (c/c++)
Joerg Beyer
j.beyer@web.de
Mon Jun 3 04:04:00 GMT 2002
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.
More information about the Gcc
mailing list