This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] PR 16373: -fomit-frame-pointer when optimizing on x86
- From: Andi Kleen <ak at muc dot de>
- To: Roger Sayle <roger at eyesopen dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 12 Jul 2004 05:53:37 +0200
- Subject: Re: [PATCH] PR 16373: -fomit-frame-pointer when optimizing on x86
- References: <Pine.LNX.firstname.lastname@example.org><Pine.LNX.email@example.com>
Roger Sayle <firstname.lastname@example.org> 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.