This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: [PATCH ppc] memset to 0 is broken on PPC405/440/464
On Fri, Sep 21, 2012 at 01:07:01PM -0500, Ryan S. Arnold wrote:
> Thanks for the patch. The quick and dirty way to fix this for both
> architectures is to copy the original file to
> <...>/powerpc32/476/memset.S and then provide your version as you've
> shown. The result of this is that other 4** series processors
> (besides 476) will end up using the 32-byte cache-line size code.
Do you want me to send you a diff like that?
> The method used to eliminate redundant code, is to do what is found in
> the non-ports 'a2' version of memcpy.S
> (sysdeps/powerpc/powerpc32/a2/memcpy.S). It attempts to detect
Yes, I saw that, though I admit I'm unclear about the purpose of the
405 specific code when the generic code already seems to be fairly
optimized?
Jason