]> git.baikalelectronics.ru Git - kernel.git/commit
x86, mem: memcpy_64.S: Optimize memcpy by enhanced REP MOVSB/STOSB
authorFenghua Yu <fenghua.yu@intel.com>
Tue, 17 May 2011 22:29:16 +0000 (15:29 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 17 May 2011 22:40:29 +0000 (15:40 -0700)
commitbaa67958a82e0d66c5e4d98639eeeefe51627e98
treea26eccfb8a85801ef337efe238a47cf48a522022
parentd03e382561bde62da3595cd1743b7af1eeeb1d0a
x86, mem: memcpy_64.S: Optimize memcpy by enhanced REP MOVSB/STOSB

Support memcpy() with enhanced rep movsb. On processors supporting enhanced
rep movsb, the alternative memcpy() function using enhanced rep movsb overrides the original function and the fast string
function.

Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Link: http://lkml.kernel.org/r/1305671358-14478-8-git-send-email-fenghua.yu@intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/lib/memcpy_64.S