This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Optimization: Conclusions from Evolutionary Analysis
- From: Dan Nicolaescu <dann at ics dot uci dot edu>
- To: Scott Robert Ladd <coyote at coyotegulch dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 18 Nov 2003 08:57:58 -0800
- Subject: Re: Optimization: Conclusions from Evolutionary Analysis
- References: <3FBA36BB.90705@coyotegulch.com>
Scott Robert Ladd <coyote@coyotegulch.com> writes:
[snip]
> Processor-specific options do not appear to be a major factor in
> performance on these benchmarks. I don't know if this is due to
> the nature of the processor, or if GCC can't take advantage of
> processor-specific instructions. I have double-checked my results;
> adding -mfpmath=sse (or any of its variants, or -msse) to a
> compile of almabench does not make the code run any faster. The
> only ia32-specific option that showed consistent value was
> -momit-leaf-frame-pointer.
You state on your web page that -O1 implies -fomit-frame-pointer.
The default GCC configuration on a P4 does not do that!
Did you change this when compiling GCC?
If -fomit-frame-pointer were to be enabled by default,
-momit-leaf-frame-pointer should not have any effect.
This is rather strange....