This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
looking for a proof for every optimizier flag (c/c++)
- From: Joerg Beyer <j dot beyer at web dot de>
- To: gcc at gnu dot org
- Date: Mon, 3 Jun 2002 13:04:33 +0200
- Subject: looking for a proof for every optimizier flag (c/c++)
- Organization: http://freemail.web.de/
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.