Re: Turn on -fomit-frame-pointer by default for 32bit Linux/x86

2010-08-10 Thread H.J. Lu
On Sun, Aug 8, 2010 at 7:56 AM, Uros Bizjak wrote: > Hello! > > After recent discussions, I would like to propose a transition to > -fomit-frame-pointer for x86_32. > > The transition should be smooth as much as possible, should have > option to revert to old behaviour and still providing path for

Re: Turn on -fomit-frame-pointer by default for 32bit Linux/x86

2010-08-08 Thread Andi Kleen
On Sun, Aug 08, 2010 at 12:00:47PM -0500, Michael Witten wrote: > On Sun, Aug 8, 2010 at 10:30, Andi Kleen wrote: > >> > I like backtraces. > >> > > >> > >> So, you will be able to use --enable-frame-pointer configure option. > >> > >> [1] http://gcc.gnu.org/ml/gcc-patches/2010-07/msg02034.html >

Re: Turn on -fomit-frame-pointer by default for 32bit Linux/x86

2010-08-08 Thread Michael Witten
On Sun, Aug 8, 2010 at 10:30, Andi Kleen wrote: >> > I like backtraces. >> > >> >> So, you will be able to use --enable-frame-pointer configure option. >> >> [1] http://gcc.gnu.org/ml/gcc-patches/2010-07/msg02034.html > > ... or use backtrace() What kind of black magic would you expect backtrace(

Re: Turn on -fomit-frame-pointer by default for 32bit Linux/x86

2010-08-08 Thread Michael Witten
On Sun, Aug 8, 2010 at 10:08, Uros Bizjak wrote: > On Sun, Aug 8, 2010 at 5:00 PM, Michael Witten wrote: >> On Sun, Aug 8, 2010 at 09:56, Uros Bizjak wrote: >>> >>> IMO, we have to bite the bullet from time to time in order to improve >>> the generated code. >> >> What's your performance functio

Re: Turn on -fomit-frame-pointer by default for 32bit Linux/x86

2010-08-08 Thread Andi Kleen
> > I like backtraces. > > > > So, you will be able to use --enable-frame-pointer configure option. > > [1] http://gcc.gnu.org/ml/gcc-patches/2010-07/msg02034.html ... or use backtrace() -Andi -- a...@linux.intel.com -- Speaking for myself only.

Re: Turn on -fomit-frame-pointer by default for 32bit Linux/x86

2010-08-08 Thread Bernd Schmidt
On 08/08/2010 05:08 PM, Uros Bizjak wrote: > So, you will be able to use --enable-frame-pointer configure option. Or, presumably the -fno-omit-frame-pointer command line option? Bernd

Re: Turn on -fomit-frame-pointer by default for 32bit Linux/x86

2010-08-08 Thread Uros Bizjak
On Sun, Aug 8, 2010 at 5:00 PM, Michael Witten wrote: > On Sun, Aug 8, 2010 at 09:56, Uros Bizjak wrote: >> >> IMO, we have to bite the bullet from time to time in order to improve >> the generated code. > > What's your performance function? See measurements at [1]. > > I like backtraces. > So

Re: Turn on -fomit-frame-pointer by default for 32bit Linux/x86

2010-08-08 Thread Michael Witten
On Sun, Aug 8, 2010 at 09:56, Uros Bizjak wrote: > > IMO, we have to bite the bullet from time to time in order to improve > the generated code. What's your performance function? I like backtraces.