From owner-freebsd-hackers Sun Aug 22 17:30:29 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 04B6514C23; Sun, 22 Aug 1999 17:30:27 -0700 (PDT) (envelope-from green@FreeBSD.org) Received: from localhost (green@localhost) by freefall.freebsd.org (8.9.3/8.9.2) with ESMTP id RAA00880; Sun, 22 Aug 1999 17:30:27 -0700 (PDT) (envelope-from green@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: green owned process doing -bs Date: Sun, 22 Aug 1999 17:30:27 -0700 (PDT) From: "Brian F. Feldman" To: Nick Hibma Cc: Peter Dufault , hackers@FreeBSD.ORG Subject: Re: from number to power of two In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 22 Aug 1999, Nick Hibma wrote: > > Unfortunately the kernel is compiled with -O which does not include > inlining (dunno about explicit inlining, but don't think so). > > Nick -O lets you do explicit inlining, and -O2 enables -finline-functions. Anyway, I think the simple solution to the problem for this case is a switch, since GCC creates optimizations nicely with those :) -- Brian Fundakowski Feldman / "Any sufficiently advanced bug is \ green@FreeBSD.org | indistinguishable from a feature." | FreeBSD: The Power to Serve! \ -- Rich Kulawiec / To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message