linux-mips
[Top] [All Lists]

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

To: Richard Henderson <rth@redhat.com>
Subject: Re: [patch] MIPS/gcc: Revert removal of DImode shifts for 32-bit targets
From: "Maciej W. Rozycki" <macro@linux-mips.org>
Date: Fri, 23 Jul 2004 16:41:35 +0200 (CEST)
Cc: Richard Sandiford <rsandifo@redhat.com>, Ralf Baechle <ralf@linux-mips.org>, gcc-patches@gcc.gnu.org, linux-mips@linux-mips.org
In-reply-to: <20040719213801.GD14931@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>
Sender: linux-mips-bounce@linux-mips.org
On Mon, 19 Jul 2004, Richard Henderson wrote:

> >  Well, other targets, like the i386 (which didn't even have a 64-bit
> > variation till recently)...
> 
> Except that 80386 has 64-bit shifts in hardware.

 Indeed -- I tend to forget of these two, sigh...

> And in rebuttal to the "does not make linux jump through hoops"
> argument, see arch/*/lib/ for arm, h8300, m68k, sparc, v850.

 OK -- but then is there any way to convince gcc to embed a "static
inline" version of these functions instead of emitting a call?  Sometimes
putting these eight (or nine for ashrdi3) instructions inline would be a
performance win.

  Maciej

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