Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Sep 2019 16:49:22 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r352689 - head/lib/libc/i386/string
Message-ID:  <201909251649.x8PGnMBT034510@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909251649.x8PGnMBT034510>