svn commit: r352689 - head/lib/libc/i386/string
Ed Maste
emaste at FreeBSD.org
Wed Sep 25 16:49:23 UTC 2019
Author: emaste
Date: Wed Sep 25 16:49:22 2019
New Revision: 352689
URL: https://svnweb.freebsd.org/changeset/base/352689
Log:
remove obsolete i386 MD memchr implementation
bde reports (in a reply to r351700 commit mail):
This uses scasb, which was last optimal on the 8086, or perhaps the
original i386. On freefall, it is several times slower than the
naive translation of the naive C code.
Reported by: bde
Reviewed by: kib, markj
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D21785
Deleted:
head/lib/libc/i386/string/memchr.S
Modified:
head/lib/libc/i386/string/Makefile.inc
Modified: head/lib/libc/i386/string/Makefile.inc
==============================================================================
--- head/lib/libc/i386/string/Makefile.inc Wed Sep 25 16:11:35 2019 (r352688)
+++ head/lib/libc/i386/string/Makefile.inc Wed Sep 25 16:49:22 2019 (r352689)
@@ -5,7 +5,6 @@ MDSRCS+= \
bcopy.S \
bzero.S \
ffs.S \
- memchr.S \
memcmp.S \
memcpy.S \
memmove.S \
More information about the svn-src-all
mailing list