Re: [PATCH] udivdi3: 64 bit divide

2007-03-01 Thread Ian Molton
Jan Engelhardt wrote: The non-arch specific code does not use 64/64 divides through the "/" operator (otherwise there would already have been udivdi3 linking errors). So what remains to check is arch/arm26. grep -Pr 'int64|\bu64' returns only a few results to check (kernel/ecard.c, nwfpe/), so t

Re: [PATCH] udivdi3: 64 bit divide

2007-02-28 Thread Tim Schmielau
On Tue, 27 Feb 2007, Andrew Morton wrote: > > On Mon, 26 Feb 2007 17:35:17 -0800 Stephen Hemminger <[EMAIL PROTECTED]> > > wrote: > > The kernel already has several implmentations and usages of 64 by 64 > > bit divide. > > > > Although it is significantly slower, there are places that need it so

Re: [PATCH] udivdi3: 64 bit divide

2007-02-28 Thread Jan Engelhardt
On Feb 27 2007 22:39, Ian Molton wrote: > Russell King wrote: >> On Tue, Feb 27, 2007 at 01:36:56PM -0800, Andrew Morton wrote: >> > On Tue, 27 Feb 2007 13:18:40 -0800 Stephen Hemminger >> > <[EMAIL PROTECTED]> wrote: >> > > Then we should pull the existing udivdi3 implementations? >> > > >> > Not

Re: [PATCH] udivdi3: 64 bit divide

2007-02-27 Thread Ian Molton
Russell King wrote: On Tue, Feb 27, 2007 at 01:36:56PM -0800, Andrew Morton wrote: On Tue, 27 Feb 2007 13:18:40 -0800 Stephen Hemminger <[EMAIL PROTECTED]> wrote: Then we should pull the existing udivdi3 implementations? Not much point really. Some architectures have gone and done that, but x

Re: [PATCH] udivdi3: 64 bit divide

2007-02-27 Thread Russell King
On Tue, Feb 27, 2007 at 01:36:56PM -0800, Andrew Morton wrote: > On Tue, 27 Feb 2007 13:18:40 -0800 Stephen Hemminger <[EMAIL PROTECTED]> > wrote: > > Then we should pull the existing udivdi3 implementations? > > Not much point really. Some architectures have gone and done that, but x86 > has no

Re: [PATCH] udivdi3: 64 bit divide

2007-02-27 Thread Andrew Morton
> On Tue, 27 Feb 2007 13:18:40 -0800 Stephen Hemminger <[EMAIL PROTECTED]> > wrote: > On Tue, 27 Feb 2007 12:24:37 -0800 > Andrew Morton <[EMAIL PROTECTED]> wrote: > > > > On Mon, 26 Feb 2007 17:35:17 -0800 Stephen Hemminger <[EMAIL PROTECTED]> > > > wrote: > > > The kernel already has several i

Re: [PATCH] udivdi3: 64 bit divide

2007-02-27 Thread Stephen Hemminger
On Tue, 27 Feb 2007 12:24:37 -0800 Andrew Morton <[EMAIL PROTECTED]> wrote: > > On Mon, 26 Feb 2007 17:35:17 -0800 Stephen Hemminger <[EMAIL PROTECTED]> > > wrote: > > The kernel already has several implmentations and usages of 64 by 64 > > bit divide. > > > > Although it is significantly slowe

Re: [PATCH] udivdi3: 64 bit divide

2007-02-27 Thread Andrew Morton
> On Mon, 26 Feb 2007 17:35:17 -0800 Stephen Hemminger <[EMAIL PROTECTED]> > wrote: > The kernel already has several implmentations and usages of 64 by 64 > bit divide. > > Although it is significantly slower, there are places that need it so > provide one generic version using scaling, and allo

[PATCH] udivdi3: 64 bit divide

2007-02-26 Thread Stephen Hemminger
The kernel already has several implmentations and usages of 64 by 64 bit divide. Although it is significantly slower, there are places that need it so provide one generic version using scaling, and allow existing platform versions to continue. This looks like good -mm material. Tested on x86_64