From owner-freebsd-current Fri Sep 27 04:13:55 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA09472 for current-outgoing; Fri, 27 Sep 1996 04:13:55 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id EAA09357; Fri, 27 Sep 1996 04:13:34 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.7.6/8.6.9) id VAA20607; Fri, 27 Sep 1996 21:01:10 +1000 Date: Fri, 27 Sep 1996 21:01:10 +1000 From: Bruce Evans Message-Id: <199609271101.VAA20607@godzilla.zeta.org.au> To: ache@nagual.ru, andreas@klemm.gtn.com Subject: Re: Please remove this lines from XFree configuration comes by default Cc: current@freebsd.org, jkh@freebsd.org Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >> Just found in August Snapshot: >> >> /usr/X11R6/lib/X11/config/FreeBSD.cf: >... >I'd also suggest to change the CFLAGS from: > > -m486 -O2 >to: > -pipe -O2 > >since many many people are driving Pentiums where m486 isn't that >good, and -pipe, because it speeds up compilation. People who >want to run X usually have enough memory for this. > >But if not '-pipe -O2', then at least '-O2' without the -m486 ! There's also a -O2 -m486 recommendation in /etc/make.conf. -O2 might help for a critical loop in the X server, but I think its advantages are small or negative for general use. gcc-2.7.2 allows fixing the -m486 problems for Pentiums: -m486 -malign-loops=0 -malign-jumps=2 -malign-functions=2 I think even 4-byte alignment for loops is wasteful since misalignment doesn't cost (much?) and alignment costs for execing no-ops to fall through to the loop and for cache to hole these no-ops. Bruce