Re: __divdi3 unresolved + X pointer blocks

3 messages, 3 authors, 2001-07-05 · open the first message on its own page

Re: __divdi3 unresolved + X pointer blocks

From: David Edelsohn <hidden>
Date: 2001-07-04 23:18:23

	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.

David

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

Re: __divdi3 unresolved + X pointer blocks

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2001-07-05 08:13:16

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...

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds


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

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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help