From: Rich Felker <dalias@libc.org>
To: musl@lists.openwall.com
Subject: Re: Results of Aboriginal/musl CFLAGS experiment
Date: Mon, 26 Oct 2015 21:29:03 -0400 [thread overview]
Message-ID: <20151027012903.GS8645@brightrain.aerifal.cx> (raw)
In-Reply-To: <CAK1hOcNXZc+9dpZ9W+bYbXyReOaQDP48PBu82rFS86n4+hb3NA@mail.gmail.com>
On Fri, Oct 23, 2015 at 09:35:39AM +0200, Denys Vlasenko wrote:
> Step 3: add "-falign-jumps=1 -falign-labels=1"
> Step 4: add "-falign-functions=1 -falign-loops=1"
>
> Not particularly interesting - they do reduce size of every program I measured,
> but some (many?) people would prefer to leave it to gcc to decide when
> and how align code, for speed reasons. Anyway, here are stats:
We had these a long time ago, but I removed them in commit
a80847d86a8865a78fdbebe7f9e2533f7a74e010 because I thought they were
the default at -Os and only relevant to debloating -O3. However I've
heard some suggestions that -Os is no longer worthwhile and that -O2
with overrides to turn off the useless/harmful alignment would be a
better default. Do you have any input on this topic?
Rich
prev parent reply other threads:[~2015-10-27 1:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-23 7:35 Denys Vlasenko
2015-10-27 1:29 ` Rich Felker [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151027012903.GS8645@brightrain.aerifal.cx \
--to=dalias@libc.org \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).