Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Aug 2002 14:55:49 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        Darren Pilgrim <dmp@pantherdragon.org>, Jason Andresen <jandrese@mitre.org>, Dmitry Morozovsky <marck@rinet.ru>, hackers@FreeBSD.ORG
Subject:   Re: -fomit-frame-pointer for the world build
Message-ID:  <3D5045E5.A0EB74F2@mindspring.com>
References:  <20020802212841.R58905-100000@woozle.rinet.ru> <3D4AC526.4CD399B3@mindspring.com> <3D4C8464.A2F4775A@pantherdragon.org> <3D4CC81F.94526C8A@mindspring.com> <3D4EA466.C1289F0F@mitre.org> <3D4EF091.EA1C91D3@pantherdragon.org> <3D4F0A5F.9B76573F@mindspring.com> <3D4F58B2.E58C2865@pantherdragon.org> <3D4F751E.1A5C1327@mindspring.com> <20020806141548.GB78723@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Dan Nelson wrote:
> > I don't know.  I don't think anyone has spent the effort on an audit,
> > just so they could turn on an optimization that is only going to
> > impact function call overhead, mostly in poorly written programs that
> > have a high "calling functions vs. doing real work" ratio.  8-).
> 
> I thought the main thing you got out of -fomit-frame-pointer was a free
> register, which is a scarce commodity on x86.

Most people don't use huge numbers of variables in their fnctions
when writing kernel code, since there's only ~5K of stack.

-- Terry

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D5045E5.A0EB74F2>