Wed Jun 24 18:09:37 2020 UTC ()
remove unused x86_stos


(maxv)
diff -r1.62 -r1.63 src/sys/arch/amd64/amd64/cpufunc.S
diff -r1.47 -r1.48 src/sys/arch/i386/i386/cpufunc.S
diff -r1.122 -r1.123 src/sys/arch/x86/include/pmap.h

cvs diff -r1.62 -r1.63 src/sys/arch/amd64/amd64/cpufunc.S (expand / switch to context diff)
--- src/sys/arch/amd64/amd64/cpufunc.S 2020/06/15 20:27:30 1.62
+++ src/sys/arch/amd64/amd64/cpufunc.S 2020/06/24 18:09:37 1.63
@@ -1,4 +1,4 @@
-/*	$NetBSD: cpufunc.S,v 1.62 2020/06/15 20:27:30 riastradh Exp $	*/
+/*	$NetBSD: cpufunc.S,v 1.63 2020/06/24 18:09:37 maxv Exp $	*/
 
 /*
  * Copyright (c) 1998, 2007, 2008, 2020 The NetBSD Foundation, Inc.
@@ -445,15 +445,6 @@
 	outl	%eax, %dx
 	ret
 END(outl)
-
-ENTRY(x86_stos)
-	movq	%rsi,%rax
-	movq	%rdx,%rcx
-	KMSAN_REP_STOS(8)
-	rep
-	stosq
-	ret
-END(x86_stos)
 
 ENTRY(x86_movs)
 	movq	%rdx,%rcx

cvs diff -r1.47 -r1.48 src/sys/arch/i386/i386/cpufunc.S (expand / switch to context diff)
--- src/sys/arch/i386/i386/cpufunc.S 2020/06/15 09:09:23 1.47
+++ src/sys/arch/i386/i386/cpufunc.S 2020/06/24 18:09:37 1.48
@@ -1,4 +1,4 @@
-/*	$NetBSD: cpufunc.S,v 1.47 2020/06/15 09:09:23 msaitoh Exp $	*/
+/*	$NetBSD: cpufunc.S,v 1.48 2020/06/24 18:09:37 maxv Exp $	*/
 
 /*-
  * Copyright (c) 1998, 2007, 2020 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
 #include <sys/errno.h>
 
 #include <machine/asm.h>
-__KERNEL_RCSID(0, "$NetBSD: cpufunc.S,v 1.47 2020/06/15 09:09:23 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpufunc.S,v 1.48 2020/06/24 18:09:37 maxv Exp $");
 
 #include "opt_xen.h"
 
@@ -353,22 +353,6 @@
 	outl	%eax, %dx
 	ret
 END(outl)
-
-ENTRY(x86_stos)
-	pushl	%ebp
-	movl	%esp,%ebp
-	pushl	%edi
-	pushl	%esi
-	movl	8(%ebp),%edi
-	movl	12(%ebp),%eax
-	movl	16(%ebp),%ecx
-	rep
-	stosl
-	popl	%esi
-	popl	%edi
-	leave
-	ret
-END(x86_stos)
 
 ENTRY(x86_movs)
 	pushl	%ebp

cvs diff -r1.122 -r1.123 src/sys/arch/x86/include/pmap.h (expand / switch to context diff)
--- src/sys/arch/x86/include/pmap.h 2020/05/27 19:33:40 1.122
+++ src/sys/arch/x86/include/pmap.h 2020/06/24 18:09:37 1.123
@@ -1,4 +1,4 @@
-/*	$NetBSD: pmap.h,v 1.122 2020/05/27 19:33:40 ad Exp $	*/
+/*	$NetBSD: pmap.h,v 1.123 2020/06/24 18:09:37 maxv Exp $	*/
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -612,7 +612,6 @@
 
 #endif /* __HAVE_DIRECT_MAP */
 
-void	x86_stos(void *, long, long);
 void	x86_movs(void *, void *, long);
 
 #endif /* _KERNEL */