Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Dec 2004 13:00:30 -0600
From:      Kirk Strauser <kirk@strauser.com>
To:        freebsd-alpha@freebsd.org
Subject:   Re: Safe (but quick) GCC settings on a PC64 with 5.3?
Message-ID:  <200412131300.34382.kirk@strauser.com>
In-Reply-To: <83229A4B-4D2E-11D9-9C15-000D93C47836@xcllnt.net>
References:  <200412131130.59807.kirk@strauser.com> <83229A4B-4D2E-11D9-9C15-000D93C47836@xcllnt.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart2119902.VnMUuUBxxE
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Monday 13 December 2004 11:43, Marcel Moolenaar wrote:

> I would start by raising the optimization level to 2 (as in -O2). This
> is our default now in -CURRENT and -STABLE and -CURRENT aren't really that
> far apart that it's not worth a try. You may run into an occasional
> compile breakage though, but I don't expect you'll see any instability.

Thanks for the tip.  I wasn't aware that the situation had improved.  At an=
y=20
rate, I'm going to run a set of benchmarks (benchmarks/{bytebench, lmbench,=
=20
stream, scimarch2c}) at the various optimization levels and see if I can=20
find a noticeable difference.

Out of curiosity, on my Athlon systems I can set "CPUTYPE=3Dathlon-tbird"=20
in /etc/make.conf and it will automatically add "-march=3Dathlon-tbird" to =
my=20
system and ports builds.  On my Alpha, though, it only adds "-mcpu=3Dev45"=
=20
and not the expected "-march=3Dev45".  Is this general to all Alphas, or is=
=20
it because my ev45 is the bottom of the barrel instruction-wise so there's=
=20
no instruction set optimization to be had?
=2D-=20
Kirk Strauser

--nextPart2119902.VnMUuUBxxE
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iD8DBQBBvebS5sRg+Y0CpvERAhrsAJ9cFMkWH1gyFxmEolxwflHIvgIPawCgmL78
x8PtA+tS4r7qToG8600ksNs=
=pSCc
-----END PGP SIGNATURE-----

--nextPart2119902.VnMUuUBxxE--



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