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: [PATCH] PR 16373: -fomit-frame-pointer when optimizing on x86


On Mon, 12 Jul 2004, Andi Kleen wrote:
> Roger Sayle <roger@eyesopen.com> writes:
>
> > On Sun, 11 Jul 2004, Joseph S. Myers wrote:
> >> Performance statistics (compile time, run time and code size)?  After all,
> >> the point of this change is presumably that it improves performance.
> >
> > Do you have any doubt at all that this patch won't improve run-time,
> > reduce code size and speed up a bootstrapped compiler?  :>
>
> It won't reduce code size - ebp references are smaller than esp
> references.  This means if the function does more than four or five
> local variable references it will be bigger.
>
> But it will be likely faster.

Please see the following posting that presents the experimental results
showing the overall code size reduction on GCC's CSiBE benchmarks:
http://gcc.gnu.org/ml/gcc-patches/2004-07/msg01181.html

Roger
--


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