Re: __divdi3 unresolved + X pointer blocks
From: Kaoru Fukui <hidden>
Date: 2001-07-05 08:44:28
From: Geert Uytterhoeven <geert@linux-m68k.org> To: David Edelsohn <redacted> Subject: Re: __divdi3 unresolved + X pointer blocks Date: Thu, 5 Jul 2001 10:13:16 +0200 (CEST) cc: Kaoru Fukui <redacted>, Jean-Jacques.Levy@inria.fr,Benjamin Herrenschmidt [off-list ref],linuxppc-dev@lists.linuxppc.org
On Wed, 4 Jul 2001, David Edelsohn wrote:quoted
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/