From: Paul Mackerras <paulus@samba.org>
To: David Howells <dhowells@redhat.com>
Cc: Yuri Tikhonov <yur@emcraft.com>,
Al Viro <viro@ZenIV.linux.org.uk>, Wolfgang Denk <wd@denx.de>,
Detlev Zundel <dzu@denx.de>,
linux-kernel@vger.kernel.org, Milton Miller <miltonm@bga.com>,
linuxppc-dev@ozlabs.org,
Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>,
Ilya Yanok <yanok@emcraft.com>
Subject: Re: Re[2]: [PATCH] fork_init: fix division by zero
Date: Thu, 11 Dec 2008 08:50:20 +1100 [thread overview]
Message-ID: <18752.14748.408940.386056@cargo.ozlabs.ibm.com> (raw)
In-Reply-To: <5545.1228914404@redhat.com>
David Howells writes:
> Ummm... On powerpc, I believe rotate-left would be a division as it does the
> bit-numbering and the bit direction the opposite way to more familiar CPUs
> such as x86.
No. :)
"Left" and "right" are relative to the way those of us humans in the
Western European cultural tradition write numbers, which is
big-endian. So rotate-left always moves bits towards the more
significant end of the word.
Paul.
next prev parent reply other threads:[~2008-12-10 21:50 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-09 17:44 Yuri Tikhonov
2008-12-10 8:44 ` Geert Uytterhoeven
2008-12-10 10:01 ` Re[2]: " Yuri Tikhonov
2008-12-10 10:17 ` Al Viro
2008-12-10 10:29 ` Re[2]: " Yuri Tikhonov
2008-12-10 17:25 ` Scott Wood
2008-12-10 17:56 ` Re[2]: " Yuri Tikhonov
2008-12-10 13:06 ` David Howells
2008-12-10 13:15 ` Geert Uytterhoeven
2008-12-10 13:25 ` Re[4]: " Yuri Tikhonov
2008-12-10 21:50 ` Paul Mackerras [this message]
2008-12-10 13:09 ` Re[2]: " David Howells
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=18752.14748.408940.386056@cargo.ozlabs.ibm.com \
--to=paulus@samba.org \
--cc=Geert.Uytterhoeven@sonycom.com \
--cc=dhowells@redhat.com \
--cc=dzu@denx.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=miltonm@bga.com \
--cc=viro@ZenIV.linux.org.uk \
--cc=wd@denx.de \
--cc=yanok@emcraft.com \
--cc=yur@emcraft.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®