]> git.ipfire.org Git - thirdparty/glibc.git/commit
Faster memcpy on x64.
authorOndrej Bilka <neleai@seznam.cz>
Mon, 20 May 2013 06:20:00 +0000 (08:20 +0200)
committerOndrej Bilka <neleai@seznam.cz>
Mon, 20 May 2013 06:24:41 +0000 (08:24 +0200)
commit2d48b41c8fa610067c4d664ac2339ae6ca43e78c
tree4d1ca07a1228ba16c12a67ddb08595770f397da1
parent3e694268750d51acc6a68b0ee7ded25a52902c20
Faster memcpy on x64.

We add new memcpy version that uses unaligned loads which are fast
on modern processors. This allows second improvement which is avoiding
computed jump which is relatively expensive operation.

Tests available here:
http://kam.mff.cuni.cz/~ondra/memcpy_profile_result27_04_13.tar.bz2
ChangeLog
sysdeps/x86_64/multiarch/Makefile
sysdeps/x86_64/multiarch/ifunc-impl-list.c
sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S [new file with mode: 0644]
sysdeps/x86_64/multiarch/memcpy.S