mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-19 09:04:51 +08:00
7f02ce62a6
This is to get the changes from:68674f94ff
("x86: don't use REP_GOOD or ERMS for small memory copies")20f3337d35
("x86: don't use REP_GOOD or ERMS for small memory clearing") This also make the 'perf bench mem' files stop referring to the erms versions that gone away with the above patches. That addresses these perf tools build warning: Warning: Kernel ABI header at 'tools/arch/x86/lib/memcpy_64.S' differs from latest version at 'arch/x86/lib/memcpy_64.S' diff -u tools/arch/x86/lib/memcpy_64.S arch/x86/lib/memcpy_64.S Warning: Kernel ABI header at 'tools/arch/x86/lib/memset_64.S' differs from latest version at 'arch/x86/lib/memset_64.S' diff -u tools/arch/x86/lib/memset_64.S arch/x86/lib/memset_64.S Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
10 lines
224 B
C
10 lines
224 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
MEMCPY_FN(memcpy_orig,
|
|
"x86-64-unrolled",
|
|
"unrolled memcpy() in arch/x86/lib/memcpy_64.S")
|
|
|
|
MEMCPY_FN(__memcpy,
|
|
"x86-64-movsq",
|
|
"movsq-based memcpy() in arch/x86/lib/memcpy_64.S")
|