[U-Boot] [PATCH] arm: add 64-64 bit divider
Mike Frysinger
vapier at gentoo.org
Wed Aug 31 17:27:46 CEST 2011
On Wednesday, August 31, 2011 11:11:00 Marek Vasut wrote:
> On Wednesday, August 31, 2011 04:32:52 PM Mike Frysinger wrote:
> > On Wednesday, August 31, 2011 06:38:50 Che-Liang Chiou wrote:
> > > This patch adds a 64-64 bit divider that supports ARMv4 and above.
> >
> > why ? if you're doing 64 bit divides, chances are you're doing something
> > fundamentally wrong. perhaps you should fix that instead.
>
> Oh come on Mike, what about too big NAND memories ?
Linux hasnt had a problem supporting large NAND without a 64bit divide
routine. why are we special ?
> > this is also why we have the do_div() helper macro.
> >
> > so until your changelog documents the actual *reason* for this patch: NAK
>
> The reason is likely it's faster.
let's see actual #'s
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20110831/d8034847/attachment.pgp
More information about the U-Boot
mailing list