Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jun 2009 12:17:45 +0200
From:      Ed Schouten <ed@80386.nl>
To:        Pawel Worach <pawel.worach@gmail.com>
Cc:        hackers@freebsd.org, current@freebsd.org, "M. Warner Losh" <imp@bsdimp.com>
Subject:   Re: Clang: now available from a SVN server near you!
Message-ID:  <20090609101745.GE48776@hoeg.nl>
In-Reply-To: <d227e09e0906081346j3ee7822n24c1c4968088647d@mail.gmail.com>
References:  <20090604093831.GE48776@hoeg.nl> <20090608.120552.756910862.imp@bsdimp.com> <d227e09e0906081346j3ee7822n24c1c4968088647d@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--oCUf59kop2Azht1W
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Pawel Worach <pawel.worach@gmail.com> 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 <ed@80386.nl>
 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--



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