This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] MIPS/gcc: Revert removal of DImode shifts for 32-bittargets
- From: Richard Sandiford <rsandifo at redhat dot com>
- To: "Maciej W. Rozycki" <macro at linux-mips dot org>
- Cc: Ralf Baechle <ralf at linux-mips dot org>, gcc-patches at gcc dot gnu dot org, linux-mips at linux-mips dot org
- Date: Mon, 19 Jul 2004 17:59:11 +0100
- Subject: Re: [patch] MIPS/gcc: Revert removal of DImode shifts for 32-bittargets
- References: <Pine.LNX.4.55.0407191648451.3667@jurand.ds.pg.gda.pl>
"Maciej W. Rozycki" <macro@linux-mips.org> writes:
> Linux relies on simple operations (addition/subtraction and shifts) on
> "long long" variables being implemented inline without a call to
> libgcc, which isn't linked in.
Sorry, but I don't think this is a reasonable expection for 64-bit
shifts on 32-bit targets. If linux insists on not using libgcc,
it should provide:
> After your change Linux has unresolved references to external __ashldi3(),
> __ashrdi3() and __lshrdi3() functions at the final link.
...these functions itself.
Richard