Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/amd64/amd64 - mismatched END pointed out by maxv@



details:   https://anonhg.NetBSD.org/src/rev/f69c8fe5f5f2
branches:  trunk
changeset: 933581:f69c8fe5f5f2
user:      ad <ad%NetBSD.org@localhost>
date:      Wed May 27 20:48:42 2020 +0000

description:
- mismatched END pointed out by maxv@
- ditch the frame, tracer should be able to deal without it in leaf on x86_64

diffstat:

 sys/arch/amd64/amd64/cpufunc.S |  10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diffs (33 lines):

diff -r f63cba92de4b -r f69c8fe5f5f2 sys/arch/amd64/amd64/cpufunc.S
--- a/sys/arch/amd64/amd64/cpufunc.S    Wed May 27 19:49:37 2020 +0000
+++ b/sys/arch/amd64/amd64/cpufunc.S    Wed May 27 20:48:42 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpufunc.S,v 1.57 2020/05/27 19:33:40 ad Exp $  */
+/*     $NetBSD: cpufunc.S,v 1.58 2020/05/27 20:48:42 ad Exp $  */
 
 /*
  * Copyright (c) 1998, 2007, 2008, 2020 The NetBSD Foundation, Inc.
@@ -422,22 +422,16 @@
 END(outl)
 
 ENTRY(x86_stos)
-       pushq   %rbp
-       movq    %rsp,%rbp
        movq    %rsi,%rax
        movq    %rdx,%rcx
        rep
        stosq
-       leave
        ret
 END(x86_stos)
 
 ENTRY(x86_movs)
-       pushq   %rbp
-       movq    %rsp,%rbp
        movq    %rdx,%rcx
        rep
        movsq
-       leave
        ret
-END(x86_stos)
+END(x86_movs)



Home | Main Index | Thread Index | Old Index