This is the mail archive of the libc-alpha@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PPC optimizations?


> 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>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]