i386: retire bzero

Unused since ba96f37758 ("Use __builtin for various mem* and b* (e.g. bzero)
routines.")

Sponsored by:	Rubicon Communications, LLC ("Netgate")
This commit is contained in:
Mateusz Guzik 2021-08-23 16:15:29 +00:00
parent 8e4f67f17f
commit e0545190ef

View File

@ -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