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]

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


Tim Prince wrote:
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.
agreed. I want to measure the effect of compiler and compile time flags
on a given hardware. This way one build up an argument to switch from an
older gcc to gcc-3.1. In an environment with a lot of "never touch a
running system" people this could be helpful.

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?
I am not a gcc developer, so the traffic of this malinglist is a lot for
me. There is a nice html archive of the mailing list at
http://gcc.gnu.org/ml/gcc/ which I use since some month. If I had more
time, than I would read each and every mail on the list and subscribe to
the list.

	Joerg





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