The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=8e4f67f17ff27371c6d06c4143807e293f07c51e
commit 8e4f67f17ff27371c6d06c4143807e293f07c51e Author: Mateusz Guzik <[email protected]> AuthorDate: 2021-08-23 16:27:17 +0000 Commit: Mateusz Guzik <[email protected]> CommitDate: 2021-08-23 18:38:04 +0000 i386: retire bcmp 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 | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/sys/i386/i386/support.s b/sys/i386/i386/support.s index b29354c47455..2fc02a67b600 100644 --- a/sys/i386/i386/support.s +++ b/sys/i386/i386/support.s @@ -232,31 +232,6 @@ ENTRY(memcpy) ret END(memcpy) -ENTRY(bcmp) - pushl %edi - pushl %esi - movl 12(%esp),%edi - movl 16(%esp),%esi - movl 20(%esp),%edx - - movl %edx,%ecx - shrl $2,%ecx - repe - cmpsl - jne 1f - - movl %edx,%ecx - andl $3,%ecx - repe - cmpsb -1: - setne %al - movsbl %al,%eax - popl %esi - popl %edi - ret -END(bcmp) - /* * Handling of special 386 registers and descriptor tables etc */ _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all To unsubscribe, send any mail to "[email protected]"
