> Date: Wed, 10 Jun 2020 20:08:31 +0200
> From: Christian Weisgerber
>
> Next try.
> Optimized versions for kernel ffs(3) on arm64, powerpc, powerpc64.
>
> I have tested arm64; cwen@ has tested powerpc in userland.
> powerpc64 is copied from powerpc.
>
> ok?
ok kettenis@
> Index:
Next try.
Optimized versions for kernel ffs(3) on arm64, powerpc, powerpc64.
I have tested arm64; cwen@ has tested powerpc in userland.
powerpc64 is copied from powerpc.
ok?
Index: lib/libkern/arch/arm64/ffs.S
===
RCS file:
Mark Kettenis wrote:
> > Date: Tue, 9 Jun 2020 23:43:50 +0200
> > From: Christian Weisgerber
> >
> > Mark Kettenis:
> >
> > > Unfortunately that doesn't quite work. At least in my build it
> > > doesn't pick up .c files in the linker/arch directories.
> > >
> > > > Index:
> Date: Tue, 9 Jun 2020 23:43:50 +0200
> From: Christian Weisgerber
>
> Mark Kettenis:
>
> > Unfortunately that doesn't quite work. At least in my build it
> > doesn't pick up .c files in the linker/arch directories.
> >
> > > Index: lib/libkern/arch/arm64/ffs.c
>
> I was certain I had
Mark Kettenis:
> Unfortunately that doesn't quite work. At least in my build it
> doesn't pick up .c files in the linker/arch directories.
>
> > Index: lib/libkern/arch/arm64/ffs.c
I was certain I had checked this, but indeed it doesn't work.
The Makefile rules are generated from
> From: Christian Weisgerber
> Date: Tue, 9 Jun 2020 18:39:45 - (UTC)
>
> Here are optimized ffs(3) implementations for
> * arm64 (superseding the earlier ffs.S)
> * powerpc
> * powerpc64
>
> arm64 tested by myself, powerpc tested by cwen@.
>
> OK?
>
> (Some other archs fell through.
On 2020-06-09, Christian Weisgerber wrote:
> Here are optimized ffs(3) implementations for
> * arm64 (superseding the earlier ffs.S)
> * powerpc
> * powerpc64
> +int ffs(int x)
Oops, I'm going to change that to
int
ffs(int x)
before commit.
--
Christian "naddy" Weisgerber