tools arch: Update arch/x86/lib/mem{cpy,set}_64.S copies used in 'perf bench mem memcpy'

To bring in the change made in this cset:

  f94909ce ("x86: Prepare asm files for straight-line-speculation")

It silences these perf tools build warnings, no change in the tools:

  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

The code generated was checked before and after using 'objdump -d /tmp/build/perf/bench/mem-memcpy-x86-64-asm.o',
no changes.

Cc: Borislav Petkov <bp@suse.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 1aa77e71
...@@ -39,7 +39,7 @@ SYM_FUNC_START_WEAK(memcpy) ...@@ -39,7 +39,7 @@ SYM_FUNC_START_WEAK(memcpy)
rep movsq rep movsq
movl %edx, %ecx movl %edx, %ecx
rep movsb rep movsb
ret RET
SYM_FUNC_END(memcpy) SYM_FUNC_END(memcpy)
SYM_FUNC_END_ALIAS(__memcpy) SYM_FUNC_END_ALIAS(__memcpy)
EXPORT_SYMBOL(memcpy) EXPORT_SYMBOL(memcpy)
...@@ -53,7 +53,7 @@ SYM_FUNC_START_LOCAL(memcpy_erms) ...@@ -53,7 +53,7 @@ SYM_FUNC_START_LOCAL(memcpy_erms)
movq %rdi, %rax movq %rdi, %rax
movq %rdx, %rcx movq %rdx, %rcx
rep movsb rep movsb
ret RET
SYM_FUNC_END(memcpy_erms) SYM_FUNC_END(memcpy_erms)
SYM_FUNC_START_LOCAL(memcpy_orig) SYM_FUNC_START_LOCAL(memcpy_orig)
...@@ -137,7 +137,7 @@ SYM_FUNC_START_LOCAL(memcpy_orig) ...@@ -137,7 +137,7 @@ SYM_FUNC_START_LOCAL(memcpy_orig)
movq %r9, 1*8(%rdi) movq %r9, 1*8(%rdi)
movq %r10, -2*8(%rdi, %rdx) movq %r10, -2*8(%rdi, %rdx)
movq %r11, -1*8(%rdi, %rdx) movq %r11, -1*8(%rdi, %rdx)
retq RET
.p2align 4 .p2align 4
.Lless_16bytes: .Lless_16bytes:
cmpl $8, %edx cmpl $8, %edx
...@@ -149,7 +149,7 @@ SYM_FUNC_START_LOCAL(memcpy_orig) ...@@ -149,7 +149,7 @@ SYM_FUNC_START_LOCAL(memcpy_orig)
movq -1*8(%rsi, %rdx), %r9 movq -1*8(%rsi, %rdx), %r9
movq %r8, 0*8(%rdi) movq %r8, 0*8(%rdi)
movq %r9, -1*8(%rdi, %rdx) movq %r9, -1*8(%rdi, %rdx)
retq RET
.p2align 4 .p2align 4
.Lless_8bytes: .Lless_8bytes:
cmpl $4, %edx cmpl $4, %edx
...@@ -162,7 +162,7 @@ SYM_FUNC_START_LOCAL(memcpy_orig) ...@@ -162,7 +162,7 @@ SYM_FUNC_START_LOCAL(memcpy_orig)
movl -4(%rsi, %rdx), %r8d movl -4(%rsi, %rdx), %r8d
movl %ecx, (%rdi) movl %ecx, (%rdi)
movl %r8d, -4(%rdi, %rdx) movl %r8d, -4(%rdi, %rdx)
retq RET
.p2align 4 .p2align 4
.Lless_3bytes: .Lless_3bytes:
subl $1, %edx subl $1, %edx
...@@ -180,7 +180,7 @@ SYM_FUNC_START_LOCAL(memcpy_orig) ...@@ -180,7 +180,7 @@ SYM_FUNC_START_LOCAL(memcpy_orig)
movb %cl, (%rdi) movb %cl, (%rdi)
.Lend: .Lend:
retq RET
SYM_FUNC_END(memcpy_orig) SYM_FUNC_END(memcpy_orig)
.popsection .popsection
...@@ -40,7 +40,7 @@ SYM_FUNC_START(__memset) ...@@ -40,7 +40,7 @@ SYM_FUNC_START(__memset)
movl %edx,%ecx movl %edx,%ecx
rep stosb rep stosb
movq %r9,%rax movq %r9,%rax
ret RET
SYM_FUNC_END(__memset) SYM_FUNC_END(__memset)
SYM_FUNC_END_ALIAS(memset) SYM_FUNC_END_ALIAS(memset)
EXPORT_SYMBOL(memset) EXPORT_SYMBOL(memset)
...@@ -63,7 +63,7 @@ SYM_FUNC_START_LOCAL(memset_erms) ...@@ -63,7 +63,7 @@ SYM_FUNC_START_LOCAL(memset_erms)
movq %rdx,%rcx movq %rdx,%rcx
rep stosb rep stosb
movq %r9,%rax movq %r9,%rax
ret RET
SYM_FUNC_END(memset_erms) SYM_FUNC_END(memset_erms)
SYM_FUNC_START_LOCAL(memset_orig) SYM_FUNC_START_LOCAL(memset_orig)
...@@ -125,7 +125,7 @@ SYM_FUNC_START_LOCAL(memset_orig) ...@@ -125,7 +125,7 @@ SYM_FUNC_START_LOCAL(memset_orig)
.Lende: .Lende:
movq %r10,%rax movq %r10,%rax
ret RET
.Lbad_alignment: .Lbad_alignment:
cmpq $7,%rdx cmpq $7,%rdx
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment