From owner-freebsd-alpha@FreeBSD.ORG Wed Dec 15 19:32:48 2004 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CAD3D16A4CE for ; Wed, 15 Dec 2004 19:32:48 +0000 (GMT) Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4375543D5E for ; Wed, 15 Dec 2004 19:32:48 +0000 (GMT) (envelope-from kirk@strauser.com) Received: from localhost (localhost [127.0.0.1]) by kanga.honeypot.net (Postfix) with ESMTP id 5C9F7221EC7 for ; Wed, 15 Dec 2004 13:32:47 -0600 (CST) Received: from kanga.honeypot.net ([127.0.0.1]) by localhost (kanga.honeypot.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 75591-20 for ; Wed, 15 Dec 2004 13:32:46 -0600 (CST) Received: from janus.daycos.com (janus.daycos.com [204.26.70.77]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by kanga.honeypot.net (Postfix) with ESMTP id A92D5221EC6 for ; Wed, 15 Dec 2004 13:32:46 -0600 (CST) From: Kirk Strauser To: freebsd-alpha@freebsd.org Date: Wed, 15 Dec 2004 13:32:42 -0600 User-Agent: KMail/1.7.1 References: <200412131130.59807.kirk@strauser.com> <83229A4B-4D2E-11D9-9C15-000D93C47836@xcllnt.net> <20041213205328.GA1546@dragon.nuxi.com> In-Reply-To: <20041213205328.GA1546@dragon.nuxi.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1732427.TU33l7dpZO"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200412151332.45800.kirk@strauser.com> X-Virus-Scanned: amavisd-new at honeypot.net Subject: Re: Safe (but quick) GCC settings on a PC64 with 5.3? X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Dec 2004 19:32:48 -0000 --nextPart1732427.TU33l7dpZO Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 13 December 2004 14:53, David O'Brien wrote: > I would use "-O2 -fno-strict-aliasing" otherwise there can be problems > with ports. Thanks for the tip. Would that apply to world and kernel as well? I tried= =20 building the OpenSSL library without "-fno-strict-aliasing" and got a few=20 type-punning warnings, but it seemed to run correctly. The GCC manual says that flag disables some optimizations. Using "openssl= =20 speed" as a rough benchmark didn't show a statistically significant=20 difference between using it or not; is anyone aware of any circumstances=20 where using it needlessly would invoke a significant penalty? By the way, my initial benchmark showed about a 50% speed increase in=20 OpenSSL by using "-O2" instead of "-O". Assuming everything continues to=20 work correctly, I'm very pleased about how this is turning out. =2D-=20 Kirk Strauser --nextPart1732427.TU33l7dpZO Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iD8DBQBBwJFd5sRg+Y0CpvERAtOoAJwOsRscOIj4mT0G08FpyTOJlcVZyACfXUBY /1NofHwEUr+szM3d5Tpm3bw= =ck+6 -----END PGP SIGNATURE----- --nextPart1732427.TU33l7dpZO--