PPC optimizations?
Geoff Keating
geoffk@ozemail.com.au
Thu Jun 3 19:49:00 GMT 1999
> Mailing-List: contact libc-alpha-help@sourceware.cygnus.com; run by ezmlm
> Date: Thu, 03 Jun 1999 15:59:11 +0200
> From: Marcus Sundberg <erammsu@kieray1.p.y.ki.era.ericsson.se>
>
> Hi,
>
> is anyone working on PPC optimizations for glibc?
> I just lifted in the memmove() code from the Linux kernel into glibc,
> and a simple test showed a 110% performance increase on both memcpy()
> and memmove()!
The memcpy() and related functions are waiting for someone to
implement emulation of misaligned string operations in the kernel,
which should improve things much more than a mere factor-of-two :-),
especially for short memcpy()s.
However, in the meantime, there's no reason not to put these versions
in (except for the licensing, of course).
How did you time them?
> The reason I'm asking if anyone is working on this is that the kernel
> code is under normal GPL, so I need to know if I should spend time
> on either asking the author to change the license to LGPL or reimplement
> them under LGPL myself.
--
Geoffrey Keating <geoffk@ozemail.com.au>
More information about the Libc-alpha
mailing list