This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Optimize manual byte swap implementations -refreshed
- From: Steven Bosscher <stevenb dot gcc at gmail dot com>
- To: Andreas Krebbel <krebbel at linux dot vnet dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org, richard dot guenther at gmail dot com
- Date: Fri, 12 Jun 2009 14:53:36 +0200
- Subject: Re: [PATCH] Optimize manual byte swap implementations -refreshed
- References: <20090612102811.GA10314@bart>
On Fri, Jun 12, 2009 at 12:28 PM, Andreas
Krebbel<krebbel@linux.vnet.ibm.com> wrote:
> Hi,
>
> here is a refreshed version of the bswap optimization pass. ?I again
> tried to do some measurements with builds of the Linux kernel. This
> time I've also tried to evaluate how much of the time is consumed by
> just walking the statements.
Just out of curiosity, and not related to your patch -- perhaps you
can add a stupid pass that does nothing but 1000 stmt walks, and then
compare compile times with/without that pass? That should give you
less unreliable numbers about the cost of a stmt walk.
Ciao!
Steven