]> 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)
commit28826572a83f1b0a90a2584df7bce6cdd044b80c
treea26eccfb8a85801ef337efe238a47cf48a522022
parent17bb3e2a4421759227b914087a4f2978e913034b
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