This is the mail archive of the libc-alpha@sourceware.org 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]
Other format: [Raw text]

Re: PowerPC LE memset


This patch is ok, thanks.


On 09-08-2013 02:27, Alan Modra wrote:
> Well, not really an LE specific patch.  No #ifdef __LITTLE_ENDIAN__ here!
>
> One of the things I noticed when looking at power7 timing is that rlwimi
> is cracked and the two resulting insns have a register dependency.
> That makes it a little slower than the equivalent rldimi.
>
> 	* sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
>         insrdi.  Formatting.
> 	* sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
> 	* sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
> 	* sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
> 	* sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
> 	* sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
> 	* sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
>
>


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