aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/i386/string/strlen.S
Commit message (Collapse)AuthorAgeFilesLines
* libc: Remove the i386 assembler version of strlen(3).Jilles Tjoelker2010-10-011-54/+0
| | | | | | | | | | | | | | | | On anything modern, the C version, which processes a word at a time, is much faster. The Intel optimization manual explicitly warns against using REP prefixes with SCAS or CMPS, which is exactly what the assembler version does. A simple test on a Phenom II showed the C version, compiled with -O2, to be about twice as fast determining the length of 100000 strings between 0 and 255 bytes long. MFC after: 2 weeks Notes: svn path=/head/; revision=213326
* Add missing END() macros, as per rev 184547 for amd64. The lack of thesePeter Wemm2008-11-021-0/+1
| | | | | | | is mostly harmless, but it does upset some of valgrind's functionality. Notes: svn path=/head/; revision=184548
* Fix typo in the BSD copyright: s/withough/without/Jens Schweikhardt2002-06-021-1/+1
| | | | | | | | Spotted and suggested by: des MFC after: 3 weeks Notes: svn path=/head/; revision=97748
* Standardize on our SCM ID style.David E. O'Brien2002-03-231-5/+1
| | | | Notes: svn path=/head/; revision=93000
* De-orbit DEFS.h - the other arches do not use it, and it got replacedPeter Wemm2001-10-241-1/+1
| | | | | | | | | with <machine/asm.h>. Reviewed by: bde Notes: svn path=/head/; revision=85437
* Removed duplicate VCS ID tags, as per style(9).Ruslan Ermilov2001-08-131-2/+0
| | | | Notes: svn path=/head/; revision=81586
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-2/+2
| | | | Notes: svn path=/head/; revision=50476
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-2/+2
| | | | Notes: svn path=/head/; revision=22993
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-2/+2
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* First round of changes to clean up the RCSID mess in libc:David Greenman1995-01-231-2/+3
| | | | | | | | | | | 1) Changed LIB_SCCS and SYSLIB_SCCS to LIB_RCS and SYSLIB_RCS. 2) Changed sccsid[] variables to rcsid[] 3) Moved all RCSID strings into .text 4) Converted all SCCSID's to RCS $Id$'s 5) Added missing $Id$'s after copyright. Notes: svn path=/head/; revision=5790
* First crack at making libc work with the new make macros. It compiles onGarrett Wollman1994-08-051-0/+58
my machine, and a simple static (genassym) and shared (sysctl) executable both work. Still to be done: RPCand YP merge. Notes: svn path=/head/; revision=1849