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:
parent
8e4f67f17f
commit
e0545190ef
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user