The branch main has been updated by mjg:

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

commit e0545190ef5c1268bdf9ed7f4d04bc5cd4ec19cf
Author:     Mateusz Guzik <[email protected]>
AuthorDate: 2021-08-23 16:15:29 +0000
Commit:     Mateusz Guzik <[email protected]>
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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to