This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports 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: [PATCH] Optimize MIPS memcpy


On 7/09/2012, at 4:25 AM, Steve Ellcey wrote:

> On Wed, 2012-09-05 at 12:43 +1200, Maxim Kuvyrkov wrote:
> 
>> Your version looks quite good.  If you could wrap it up into a glibc patch I would test it on our
>> setup to confirm that it indeed provides better performance.
>> 
>> Thanks,
>> 
>> --
>> Maxim Kuvyrkov
>> Mentor Graphics
> 
> I have attached a glibc patch for my version of memcpy.
> 
> 
> 2012-09-06  Steve Ellcey  <sellcey@mips.com>
> 
> 	* sysdeps/mips/memcpy.S: Add prefetching and more unrolling, make
> 	it work in 32 or 64 bit modes.
> 	* sysdeps/mips/mips64/memcpy.S: Remove.

Thanks, I will benchmark it shortly.

Meanwhile, would you please test your memcpy implementation together with patch in http://sourceware.org/ml/libc-alpha/2012-09/msg00197.html to make sure your memcpy also can be used in memmove.

Thanks,

--
Maxim Kuvyrkov
CodeSourcery / Mentor Graphics



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