diff options
author | Jan Beulich <jbeulich@novell.com> | 2009-03-12 10:47:13 +0000 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-12 12:04:47 +0100 |
commit | dd1ef4ec4721ddc0a1f2b73a4f67930cb320665c (patch) | |
tree | 75cdd414ecdcfe7d2abc72da8444f54631a00e4e /arch/x86/lib | |
parent | c2810188c1b810c68139608a207befae0a4f1e69 (diff) | |
download | blackbird-op-linux-dd1ef4ec4721ddc0a1f2b73a4f67930cb320665c.tar.gz blackbird-op-linux-dd1ef4ec4721ddc0a1f2b73a4f67930cb320665c.zip |
x86-64: remove unnecessary spill/reload of rbx from memcpy
Impact: micro-optimization
This should slightly improve its performance.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
LKML-Reference: <49B8F641.76E4.0078.0@novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/lib')
-rw-r--r-- | arch/x86/lib/memcpy_64.S | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/x86/lib/memcpy_64.S b/arch/x86/lib/memcpy_64.S index c22981fa2f3a..10c067694af4 100644 --- a/arch/x86/lib/memcpy_64.S +++ b/arch/x86/lib/memcpy_64.S @@ -33,9 +33,6 @@ ENDPROC(memcpy_c) ENTRY(__memcpy) ENTRY(memcpy) CFI_STARTPROC - pushq %rbx - CFI_ADJUST_CFA_OFFSET 8 - CFI_REL_OFFSET rbx, 0 movq %rdi,%rax movl %edx,%ecx @@ -102,11 +99,7 @@ ENTRY(memcpy) jnz .Lloop_1 .Lende: - popq %rbx - CFI_ADJUST_CFA_OFFSET -8 - CFI_RESTORE rbx ret -.Lfinal: CFI_ENDPROC ENDPROC(memcpy) ENDPROC(__memcpy) |