linux-mips
[Top] [All Lists]

Re: [patch] MIPS/gcc: Revert removal of DImode shifts for 32-bit targets

To: Richard Henderson <rth@redhat.com>, "Maciej W. Rozycki" <macro@linux-mips.org>, Richard Sandiford <rsandifo@redhat.com>, gcc-patches@gcc.gnu.org, linux-mips@linux-mips.org
Subject: Re: [patch] MIPS/gcc: Revert removal of DImode shifts for 32-bit targets
From: Ralf Baechle <ralf@linux-mips.org>
Date: Fri, 23 Jul 2004 23:12:32 +0200
In-reply-to: <20040723202703.GB30931@redhat.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <Pine.LNX.4.55.0407191648451.3667@jurand.ds.pg.gda.pl> <87hds49bmo.fsf@redhat.com> <Pine.LNX.4.55.0407191907300.3667@jurand.ds.pg.gda.pl> <20040719213801.GD14931@redhat.com> <Pine.LNX.4.55.0407201505330.14824@jurand.ds.pg.gda.pl> <20040723202703.GB30931@redhat.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.1i
On Fri, Jul 23, 2004 at 01:27:03PM -0700, Richard Henderson wrote:

> > Sometimes putting these eight (or nine for ashrdi3) instructions
> > inline would be a performance win.
> 
> Sometimes, maybe.  I suspect you'll find that in general it's
> nothing but bloat.

With a bit of hand waiving because haven't done benchmarks I guess Richard
might be right.  The subroutine calling overhead on modern processors is
rather low and smaller code means better cache hit rates ...

  Ralf

<Prev in Thread] Current Thread [Next in Thread>