Subject: Re: boot code bloat with 64bit sector numbers
To: Ignatios Souvatzis <email@example.com>
From: David Laight <firstname.lastname@example.org>
Date: 04/09/2003 21:16:18
On Wed, Apr 09, 2003 at 10:08:21PM +0200, Ignatios Souvatzis wrote:
> I have some 64bit m68k divider thats slow but small ... wait...
Actually I suspect the 'schoolboy' 1 bit at a time routine would be faster
than the code we are using code - especially if written in assembler.
The code we have is trying to do multiple bits per iteration,
IIRC it doesn't even have the obvious optimisation to use the cpus
divide instruction (should it have one) when it would work.
I suspect the asm loop I used to use to get an 8085 to do 16/16
divide would run quite quickly. Not many instructions per interation.
David Laight: email@example.com