From owner-freebsd-hackers Thu Jun 4 23:04:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA11497 for freebsd-hackers-outgoing; Thu, 4 Jun 1998 23:04:13 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from hen.scotland.net ([194.247.64.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA11386 for ; Thu, 4 Jun 1998 23:03:43 -0700 (PDT) (envelope-from freebsd@timog.prestel.co.uk) Received: from e2c10p49.scotland.net ([148.176.238.113] helo=timog.prestel.co.uk) by hen.scotland.net with esmtp (Exim 1.90 #5) for freebsd-hackers@freebsd.org id 0yhpbF-00075c-00; Fri, 5 Jun 1998 07:03:39 +0100 Received: (qmail 199 invoked by uid 1002); 4 Jun 1998 21:13:13 -0000 Message-ID: <19980604221313.01394@timog.prestel.co.uk> Date: Thu, 4 Jun 1998 22:13:13 +0100 From: Timo Geusch To: freebsd-hackers@FreeBSD.ORG Subject: Re: Recompiling sources with "-O2 -m486 -pipe" References: <199806032301.QAA01867@dingo.cdrom.com> <19980604080140.A4348@keltia.freenix.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <19980604080140.A4348@keltia.freenix.fr>; from Ollivier Robert on Thu, Jun 04, 1998 at 08:01:40AM +0200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Jun 04, 1998 at 08:01:40AM +0200, Ollivier Robert wrote: > -m486 is likely to slow down the execution because -m486 alignments are not > really suitable to pentium and later processors. -m486 doesn't generate any > special instruction (the code will run on a 386). > > If you want to see any difference in speed, switch to egcs/pgcc which has a > pentium mode (and a Cyrix/K5/K6 mode for pgcc). Or use GCC2.8.1 from the ports collection with -mpentium. This actually makes for a smaller kernel (my -current kernel is about 10% smaller compared to the one generated by the standard settings). Seems to be stable enough, for me at least. Timo, who has to reboot his box all the time anyway To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message