Updated x86-64 memcpy and New x86-64 memset

Menezes, Evandro evandro.menezes@amd.com
Fri Aug 17 20:11:00 GMT 2007


This patch updates the x86-64 memcpy for AMD's upcoming Barcelona
processor, which bears an L3 cache shared among its cores.

A new x86-64 memset is also proposed which improves the performance for
both tiny (a few bytes) and huge (a few Mbytes) blocks.



2007-08-17 Evandro Menezes <evandro.menezes@amd.com>

	* sysdeps/x86_64/bzero.S: modified macro definition.
	* sysdeps/x86_64/cacheinfo.c: added support for the AMD
Barcelona processor.
	* sysdeps/x86_64/memcpy.S: modified algorithms when L3 cache is
present.
	* sysdeps/x86_64/memset.S: new code to handle more block sizes.



Thanks,

-- 
_______________________________________________________
Evandro Menezes                              Austin, TX
evandro@yahoo.com                  http://themenezes.us

-------------- next part --------------
A non-text attachment was scrubbed...
Name: x86_64-string.diff
Type: application/octet-stream
Size: 20728 bytes
Desc: x86_64-string.diff
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20070817/221a36d3/attachment.obj>


More information about the Libc-alpha mailing list