__divdi3 unresolved + X pointer blocks

Kaoru Fukui k_fukui at highway.ne.jp
Thu Jul 5 18:44:28 EST 2001


From: Geert Uytterhoeven <geert at linux-m68k.org>
To: David Edelsohn <dje at watson.ibm.com>
Subject: Re: __divdi3 unresolved + X pointer blocks
Date: Thu, 5 Jul 2001 10:13:16 +0200 (CEST)
cc: Kaoru Fukui <k_fukui at highway.ne.jp>, Jean-Jacques.Levy at inria.fr,Benjamin
Herrenschmidt <benh at kernel.crashing.org>,linuxppc-dev at lists.linuxppc.org

> On Wed, 4 Jul 2001, David Edelsohn wrote:
> > 	You do not seem to have understood my reply.  I will repeat the
> > important sentence:
> >
> > 	SHIFT IS NOT THE SAME AS DIVIDE FOR SIGNED INTEGERS.
>
> Indeed. That's why you have `logical shift right' and `arithmetic shift right
'.
> The former inserts zeroes, the latter inserts a copy of the MSB.
>
> Don't know from memory whether PPC has them...
>

Thanks your explain.

I alway used them when Z80 Assmble probramming ,long long time ago -:)

Kaoru


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list