From: Paul Burton <paul.burton@mips.com>
To: Paul Burton <pburton@wavecomp.com>
Cc: "linux-mips@linux-mips.org" <linux-mips@linux-mips.org>,
Paul Burton <pburton@wavecomp.com>,
"linux-mips@linux-mips.org" <linux-mips@linux-mips.org>
Subject: Re: [PATCH] MIPS: Enable dead code elimination
Date: Mon, 26 Nov 2018 18:22:45 +0000 [thread overview]
Message-ID: <MWHPR2201MB12771CB00C8821F0FC62B94EC1D70@MWHPR2201MB1277.namprd22.prod.outlook.com> (raw)
In-Reply-To: <20181121215623.31911-1-paul.burton@mips.com>
Hello,
Paul Burton wrote:
> Select CONFIG_HAVE_LD_DEAD_CODE_DATA_ELIMINATION for MIPS, allowing the
> user to enable dead code elimination. In order for this to work, ensure
> that we keep the data bus exception table & the machine list by
> annotating them with KEEP.
>
> This shrinks both 32r2el_defconfig & 64r6el_defconfig builds by ~6%, as
> shown by numbers from scripts/bloat-o-meter:
>
> | 32r2el_defconfig | 64r6el_defconfig
> --------|------------------|------------------
> No DCE | 8919864 | 8286307
> DCE | 8338988 (-6.51%) | 7741808 (-6.57%)
>
> Signed-off-by: Paul Burton <paul.burton@mips.com>
> Cc: linux-mips@linux-mips.org
Applied to mips-next.
Thanks,
Paul
[ This message was auto-generated; if you believe anything is incorrect
then please email paul.burton@mips.com to report it. ]
WARNING: multiple messages have this Message-ID (diff)
From: Paul Burton <paul.burton@mips.com>
To: Paul Burton <pburton@wavecomp.com>
Cc: "linux-mips@linux-mips.org"
<linux-mips@linux-mips.org>"linux-mips@linux-mips.org"
<linux-mips@linux-mips.org>
Subject: Re: [PATCH] MIPS: Enable dead code elimination
Date: Mon, 26 Nov 2018 18:22:45 +0000 [thread overview]
Message-ID: <MWHPR2201MB12771CB00C8821F0FC62B94EC1D70@MWHPR2201MB1277.namprd22.prod.outlook.com> (raw)
Message-ID: <20181126182245.uuP6aZTeuqhxvSoTTglfhVvDRUekJIAf1EYYpGUV6IU@z> (raw)
In-Reply-To: <20181121215623.31911-1-paul.burton@mips.com>
Hello,
Paul Burton wrote:
> Select CONFIG_HAVE_LD_DEAD_CODE_DATA_ELIMINATION for MIPS, allowing the
> user to enable dead code elimination. In order for this to work, ensure
> that we keep the data bus exception table & the machine list by
> annotating them with KEEP.
>
> This shrinks both 32r2el_defconfig & 64r6el_defconfig builds by ~6%, as
> shown by numbers from scripts/bloat-o-meter:
>
> | 32r2el_defconfig | 64r6el_defconfig
> --------|------------------|------------------
> No DCE | 8919864 | 8286307
> DCE | 8338988 (-6.51%) | 7741808 (-6.57%)
>
> Signed-off-by: Paul Burton <paul.burton@mips.com>
> Cc: linux-mips@linux-mips.org
Applied to mips-next.
Thanks,
Paul
[ This message was auto-generated; if you believe anything is incorrect
then please email paul.burton@mips.com to report it. ]
next prev parent reply other threads:[~2018-11-26 18:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-21 21:56 [PATCH] MIPS: Enable dead code elimination Paul Burton
2018-11-26 18:22 ` Paul Burton [this message]
2018-11-26 18:22 ` Paul Burton
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=MWHPR2201MB12771CB00C8821F0FC62B94EC1D70@MWHPR2201MB1277.namprd22.prod.outlook.com \
--to=paul.burton@mips.com \
--cc=linux-mips@linux-mips.org \
--cc=pburton@wavecomp.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.
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).