[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <18752.14748.408940.386056@cargo.ozlabs.ibm.com>
Date: Thu, 11 Dec 2008 08:50:20 +1100
From: Paul Mackerras <paulus@...ba.org>
To: David Howells <dhowells@...hat.com>
Cc: Yuri Tikhonov <yur@...raft.com>, Al Viro <viro@...IV.linux.org.uk>,
Wolfgang Denk <wd@...x.de>, Detlev Zundel <dzu@...x.de>,
linux-kernel@...r.kernel.org, Milton Miller <miltonm@....com>,
linuxppc-dev@...abs.org,
Geert Uytterhoeven <Geert.Uytterhoeven@...ycom.com>,
Ilya Yanok <yanok@...raft.com>
Subject: Re: Re[2]: [PATCH] fork_init: fix division by zero
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists