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/b32fba6977f2
branches:  trunk
changeset: 972495:b32fba6977f2
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 5411ffff6f69 -r b32fba6977f2 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