From owner-freebsd-current Sat Feb 8 19:59:46 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F9F937B405 for ; Sat, 8 Feb 2003 19:59:45 -0800 (PST) Received: from ip68-14-60-78.no.no.cox.net (ip68-14-60-78.no.no.cox.net [68.14.60.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B59C43F85 for ; Sat, 8 Feb 2003 19:59:44 -0800 (PST) (envelope-from conrads@ip68-14-60-78.no.no.cox.net) Received: from ip68-14-60-78.no.no.cox.net (localhost [127.0.0.1]) by ip68-14-60-78.no.no.cox.net (8.12.6/8.12.6) with ESMTP id h1941wIP072567; Sat, 8 Feb 2003 22:01:58 -0600 (CST) (envelope-from conrads@ip68-14-60-78.no.no.cox.net) Received: (from conrads@localhost) by ip68-14-60-78.no.no.cox.net (8.12.6/8.12.6/Submit) id h1941mpw072183; Sat, 8 Feb 2003 22:01:48 -0600 (CST) Message-ID: X-Mailer: XFMail 1.5.3 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20030208173756.GA56030@arkadia.nv.cox.net> Date: Sat, 08 Feb 2003 22:01:48 -0600 (CST) Organization: A Rag-Tag Band of Drug-Crazed Hippies From: Conrad Sabatier To: Ray Kohler Subject: Re: Compiling with high optimization? Cc: freebsd-current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 08-Feb-2003 Ray Kohler wrote: > Has anyone tried building world/kernel with high optimizations (-O2, > -O3) recently? What breaks? (Booby prize to whoever says "common sense" > ;) I last tried it quite a few months ago and the resolver died on me, > don't know what else. I'm not really thinking of running like that, but > I am curious about others' experiences. Call me a fool, but I've been using this for quite some time now, in both -stable (well, with slight modifications) and -current: CPUTYPE?=k7 CFLAGS= -O2 -pipe -mmmx -m3dnow -fforce-mem -fforce-addr -fstrength-reduce \ -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -frerun-cse-after-loop \ -fexpensive-optimizations -fschedule-insns2 COPTFLAGS= -O2 -pipe -mmmx -m3dnow -fforce-mem -fforce-addr -fstrength-reduce \ -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -frerun-cse-after-loop \ -fexpensive-optimizations -fschedule-insns2 My -current box seems to be remarkably stable (and fast!). Guess I must be living right. :-) -- Conrad Sabatier - "In Unix veritas" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message