Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Nov 2014 13:07:43 +0000
From:      David Chisnall <theraven@FreeBSD.org>
To:        Roman Divacky <rdivacky@vlakno.cz>
Cc:        current@freebsd.org
Subject:   Re: [PATCH]: further shrinking of boot2
Message-ID:  <B3DCBD7E-93AD-4601-A7D9-F8C6EEB4CA1F@FreeBSD.org>
In-Reply-To: <20141121125632.GA23706@vlakno.cz>
References:  <20141121125632.GA23706@vlakno.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
Fir the clang 3.4 import, I had some patches (that never got applied), =
which used clang -O0 and then opt with some custom optimisation order to =
get a reasonable size saving.  It might be worth trying that, so that =
future changes to the default optimisation order don't make things worse =
again.

David

On 21 Nov 2014, at 12:56, Roman Divacky <rdivacky@vlakno.cz> wrote:

> Hi all!
>=20
> In an effort to help import clang3.5 I looked at squeezing a few more =
bytes
> from boot2.
>=20
>=20
>        http://rys.vlakno.cz/~rdivacky/boot2.diet.patch
>=20
>=20
> Please test and review the patch. It survived my qemu boot attempt so =
it's
> not completely broken. But I would like to have some more testing and =
review
> comments before I move forward with this.
>=20
> Fwiw, it shrinks boot2 by 16 bytes when compiled with clang34 and by =
28 bytes
> when compiled with clang35.
>=20
> Thanks! Roman
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to =
"freebsd-current-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B3DCBD7E-93AD-4601-A7D9-F8C6EEB4CA1F>