From owner-freebsd-current@FreeBSD.ORG Tue Jun 9 10:17:46 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D009106566C; Tue, 9 Jun 2009 10:17:46 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:7b8:613:100::211]) by mx1.freebsd.org (Postfix) with ESMTP id 0A47B8FC18; Tue, 9 Jun 2009 10:17:46 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 2EDAC1CD94; Tue, 9 Jun 2009 12:17:45 +0200 (CEST) Date: Tue, 9 Jun 2009 12:17:45 +0200 From: Ed Schouten To: Pawel Worach Message-ID: <20090609101745.GE48776@hoeg.nl> References: <20090604093831.GE48776@hoeg.nl> <20090608.120552.756910862.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oCUf59kop2Azht1W" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.19 (2009-01-05) Cc: hackers@freebsd.org, current@freebsd.org, "M. Warner Losh" Subject: Re: Clang: now available from a SVN server near you! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jun 2009 10:17:46 -0000 --oCUf59kop2Azht1W Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Pawel Worach wrote: > So runtime performance is on par with gcc, code size is a bit bigger > so there is still room for optimization in LLVM. I don't agree on the code size. Code size is comparable. I just did a quick ls through /bin. There also seem to be a lot of cases where Clang generates smaller binaries. Some time ago the binaries were indeed a lot bigger, but that turned out to be a bug in Clang, where a compiler flag had a wrong default value, namely the flag that determined whether zero-initialized data had to go in BSS or not. --=20 Ed Schouten WWW: http://80386.nl/ --oCUf59kop2Azht1W Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkouNsgACgkQ52SDGA2eCwVHnACfaoxEg9nNU0BZjv73sqUq+mfv ICsAn0mcRhQ/YZrevzPRcgtx8pDJyvnK =IZ0p -----END PGP SIGNATURE----- --oCUf59kop2Azht1W--