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]

Re: Debug formats on Linux


On Sat, Oct 28, 2000 at 02:13:45AM +0200, jfm2@club-internet.fr wrote:

> I benchmarked -fomit-frame-pointer with gcc 2.95 and speed bonus was
> well under 10%, and I think under 5%.  I found this funny since I
> would expect an additional register woukld have a big impact on
> register-starved x86s.  But unless omit-frame-pointer gives a far
> bigger impact I would not want to go through yet another massive
> change on Linux.  I have had enough with libc4 -> libc5 -> glibc plus
> the uncompatible C++ libraries from
>  gcc-2.7 -> egcs -> gcc-2.9[56]->gcc-3

fomit-frame-pointer gives better results to me, almost always around 
10%, notably with programs that are hard to speed up otherwise. That 
is for x86 and m68k, 2.7.2.3, 2.8.[01], 2.95.*.

Bye
Richard

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