From xemacs-m  Tue Jul  8 10:15:39 1997
Received: from bittersweet.inetarena.com (karlheg@bittersweet.inetarena.com [206.129.216.38])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id KAA11993
	for <xemacs-beta@xemacs.org>; Tue, 8 Jul 1997 10:15:37 -0500 (CDT)
Received: (from karlheg@localhost)
	by bittersweet.inetarena.com (8.8.5/8.8.5) id IAA20590;
	Tue, 8 Jul 1997 08:15:04 -0700
To: XEmacs Beta <xemacs-beta@xemacs.org>
Subject: Testing gcc-pentium, bench.el
X-Face: /Q}=yl}1_v7nP)xXo5XjG8+tl@=uVu7o5u6)f]zN?+<hB!K.m9:[|*p34jVN`O;:XZXVSy>/\R>qDt(t8w!-i{(y0"`jFw^uk8inzO9wXabd'CdjUWfC\GHi:6nO*YC89#-qD>Q4r%9!V"<RYJ=7D#$";q=zML5'!=wvXk^$`6FT=5CMofQX)WUKt0p:OKl.mFOXx/D
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: karlheg+xemacs@inetarena.com (Karl M. Hegbloom)
Date: 08 Jul 1997 08:15:03 -0700
Message-ID: <87bu4dk22w.fsf@bittersweet.inetarena.com>
Lines: 39
X-Mailer: Gnus v5.4.62/XEmacs 20.3(beta11) - "Stockholm"

 I went and upgraded to glibc 1.0.4 and grabbed the newly packaged
gcc-pentium compiler. (gcc-pentium_2.7.2.970628_i386.deb, packaged by
Shaya Potter).  I've compiled XEmacs about 7 or 8 times now, with
various switches.  Here's what I've found out.

 `temacs' will seg fault immediately with -O6 -mpentium.  It will
compile with -O5 and -O4, but when I resize the window, XEmacs freaks
out, fills the screen, and flashes.  It looks like it's in a redisplay
loop.  I guess it's jumping to the wrong place and looping because of
a bad optimization attempt.

 It's working well with -O3 -mpentium.  I noticed that with --debug=no
and --error-checking=none, that bench.elc will run quietly, without
paging at all. (64Mb RAM) With debugging and error-checking, it pages
quite a lot when it makes the lists.  It must be keeping track of a
lot of extra stuff then.

 -O3 bench'd slightly *faster* than -O4, for several of the tests.
The numbers are very close.

 Compared to XEmacs compiled with a standard gcc-2.7.2.2, it's a
little faster, according to a five iteration of bench.elc run in
`xemacs -q -no-site-file'.  For something like W3 or Calc mode, you
might notice the difference.  It seems to make dired listings faster
too, and the mode-motion highlight seems snappier.

 I'm configured with:

./configure  --with-gcc --compiler=pgcc '--cflags=-O3 -mpentium' \
 --with-dialogs=athena3d

... and it seems to be working fine.   Back to the `lispref'.  :-)


-- 
mailto:karlheg+sig@inetarena.com (Karl M. Hegbloom)
http://www.inetarena.com/~karlheg
Portland, OR  USA
Debian GNU 1.3  Linux 2.1.36 AMD K5 PR-133

