Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Aug 2021 18:38:13 GMT
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: e0545190ef5c - main - i386: retire bzero
Message-ID:  <202108231838.17NIcDtC006011@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mjg:

URL: https://cgit.FreeBSD.org/src/commit/?id=e0545190ef5c1268bdf9ed7f4d04bc5cd4ec19cf

commit e0545190ef5c1268bdf9ed7f4d04bc5cd4ec19cf
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2021-08-23 16:15:29 +0000
Commit:     Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2021-08-23 18:38:05 +0000

    i386: retire bzero
    
    Unused since ba96f37758412151 ("Use __builtin for various mem* and b* (e.g. bzero)
    routines.")
    
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 sys/i386/i386/support.s | 20 --------------------
 1 file changed, 20 deletions(-)

diff --git a/sys/i386/i386/support.s b/sys/i386/i386/support.s
index 2fc02a67b600..4130affbba5c 100644
--- a/sys/i386/i386/support.s
+++ b/sys/i386/i386/support.s
@@ -40,26 +40,6 @@
 
 	.text
 
-/*
- * bcopy family
- * void bzero(void *buf, u_int len)
- */
-ENTRY(bzero)
-	pushl	%edi
-	movl	8(%esp),%edi
-	movl	12(%esp),%ecx
-	xorl	%eax,%eax
-	shrl	$2,%ecx
-	rep
-	stosl
-	movl	12(%esp),%ecx
-	andl	$3,%ecx
-	rep
-	stosb
-	popl	%edi
-	ret
-END(bzero)
-
 ENTRY(sse2_pagezero)
 	pushl	%ebx
 	movl	8(%esp),%ecx



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108231838.17NIcDtC006011>