This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: performance in sysdeps/powerpc/memset.S
- To: olh at suse dot de
- Subject: Re: performance in sysdeps/powerpc/memset.S
- From: Geoff Keating <geoffk at geoffk dot org>
- Date: Thu, 12 Jul 2001 13:21:57 -0700
- CC: libc-alpha at sources dot redhat dot com
- References: <20010712143337.A5516@suse.de>
- Reply-to: Geoff Keating <geoffk at redhat dot com>
> Date: Thu, 12 Jul 2001 14:33:37 +0200
> From: Olaf Hering <olh@suse.de>
> there are some problems with current sysdeps/powerpc/memset.S.
> It prevents booting a POWER3 machine, and it also slows down memset().
Can you analyze the booting problem further? I suspect the difficulty
is due to the use of the dcbz instruction. Perhaps rewriting the
routine to not use this instruction would help.
When I originally wrote this routine it provided about a 50% speedup
on my 601. It's possible there are changes that would make it
go faster on newer machines and keep its speed on older ones.
--
- Geoffrey Keating <geoffk@geoffk.org>