From owner-freebsd-hackers Mon Aug 5 14:39:39 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1AD5F37B400 for ; Mon, 5 Aug 2002 14:39:38 -0700 (PDT) Received: from spork.pantherdragon.org (spork.pantherdragon.org [206.29.168.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A24643E5E for ; Mon, 5 Aug 2002 14:39:37 -0700 (PDT) (envelope-from dmp@pantherdragon.org) Received: from sparx.pantherdragon.org (evrtwa1-ar10-4-61-252-210.evrtwa1.dsl-verizon.net [4.61.252.210]) by spork.pantherdragon.org (Postfix) with ESMTP id 7B5B5FF3D; Mon, 5 Aug 2002 14:39:36 -0700 (PDT) Received: from pantherdragon.org (speck.techno.pagans [172.21.42.2]) by sparx.pantherdragon.org (Postfix) with ESMTP id D6209A923; Mon, 5 Aug 2002 14:39:29 -0700 (PDT) Message-ID: <3D4EF091.EA1C91D3@pantherdragon.org> Date: Mon, 05 Aug 2002 14:39:29 -0700 From: Darren Pilgrim X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Jason Andresen Cc: Terry Lambert , Dmitry Morozovsky , hackers@freebsd.org Subject: Re: -fomit-frame-pointer for the world build References: <20020802212841.R58905-100000@woozle.rinet.ru> <3D4AC526.4CD399B3@mindspring.com> <3D4C8464.A2F4775A@pantherdragon.org> <3D4CC81F.94526C8A@mindspring.com> <3D4EA466.C1289F0F@mitre.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jason Andresen wrote: > Terry Lambert wrote: > > The claimed savings are fictions. They are function call > > overhead savings assuming an average number of arguments and > > related pushed values, and they apply only to the call process > > itself. Most time in programs is spent in running, not calling > > functions, so if you expect an elimination of "18% overhead" > > to make you programs that much faster, you are dreaming. > > On the other hand, -fomit-frame-pointer is the only optimization > beyond -O in gcc that actually seems to offer any sort of speedup > for me. I've seen 10 to 20% reduction in runtime on some programs > with -fomit-frame-pointer. It's the only specific optimization I > bother with anymore. What, if anything, have you come across that won't compile/run properly when you use -fomit-frame-pointer? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message