[parisc-linux] Re: teaching the kernel to do division

Randolph Chung Randolph Chung <tausq@debian.org>
Sat, 25 Oct 2003 09:07:54 -0700


> Is somebody knows where can I find the right solution?

think about how you would do binary long division by hand. the algorithm
is exactly the same.

the more interesting question is how can we implement a more efficient
one for hppa. $$divU in libgcc.a is almost what we want, except i only
see a 32-bit version.

randolph
-- 
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/