Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jun 1998 22:13:13 +0100
From:      Timo Geusch <freebsd@timog.prestel.co.uk>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Recompiling sources with "-O2 -m486 -pipe"
Message-ID:  <19980604221313.01394@timog.prestel.co.uk>
In-Reply-To: <19980604080140.A4348@keltia.freenix.fr>; from Ollivier Robert on Thu, Jun 04, 1998 at 08:01:40AM %2B0200
References:  <Pine.NEB.3.96.980603185514.182A-100000@myname.my.domain> <199806032301.QAA01867@dingo.cdrom.com> <19980604080140.A4348@keltia.freenix.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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