freebsd-nq/lib/libc/string
Xin LI 4c6a60218c Rewrite of MI strlen(3) in a way that can better utilize modern hardware by
reducing branches and doing word-sized operation.

The idea is taken from J.T. Conklin's x86_64 optimized version of strlen(3)
for NetBSD, and reimplemented in C by me.

Discussed on:	-arch@
2009-01-25 23:08:47 +00:00
..
bcmp.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
bcmp.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
bcopy.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
bcopy.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
bstring.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
bzero.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
bzero.c
ffs.3 Document that ffsll(3) and flsll(3) functions first appeared in 2009-01-13 13:19:42 +00:00
ffs.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
ffsl.c Fix style. 2008-11-03 10:14:47 +00:00
ffsll.c Add the ffsll and flsll functions. These are ffs and fls operating 2008-11-03 10:22:19 +00:00
fls.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
flsl.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
flsll.c Add the ffsll and flsll functions. These are ffs and fls operating 2008-11-03 10:22:19 +00:00
index.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
index.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
Makefile.inc Sort MLINKS. 2009-01-09 16:24:10 +00:00
memccpy.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
memccpy.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
memchr.3 Add memrchr(3). 2008-04-10 00:12:44 +00:00
memchr.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
memcmp.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
memcmp.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
memcpy.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
memcpy.c
memmem.3 Fix prototype. 2005-11-24 06:56:21 +00:00
memmem.c Add the function memmem(3) as found in glibc and others. 2005-08-25 18:26:58 +00:00
memmove.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
memmove.c
memrchr.c Add memrchr(3). 2008-04-10 00:12:44 +00:00
memset.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
memset.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
rindex.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
stpcpy.c
strcasecmp.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
strcasecmp.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
strcasestr.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
strcat.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
strcat.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
strchr.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
strchr.c
strcmp.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
strcmp.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
strcoll.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
strcoll.c
strcpy.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
strcpy.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
strcspn.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
strcspn.c Replace the current strspn() and strcspn() with significantly faster 2005-04-02 18:52:44 +00:00
strdup.3 o Use full month name in .Dd macro. 2008-12-09 09:24:25 +00:00
strdup.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
strerror.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
strerror.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
string.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
strlcat.c o ANSIfy. 2009-01-12 06:09:34 +00:00
strlcpy.3 o Language improvements from OpenBSD; 2009-01-12 06:10:48 +00:00
strlcpy.c - License change to a less restrictive one; 2008-10-19 10:11:35 +00:00
strlen.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
strlen.c Rewrite of MI strlen(3) in a way that can better utilize modern hardware by 2009-01-25 23:08:47 +00:00
strmode.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
strmode.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
strncat.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
strncmp.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
strncpy.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
strndup.c Import the strndup(3) function. 2008-12-06 09:37:54 +00:00
strnstr.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
strpbrk.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
strpbrk.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
strrchr.c
strsep.3 Add an easier example. 2008-12-05 15:50:59 +00:00
strsep.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
strsignal.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
strspn.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
strspn.c Replace the current strspn() and strcspn() with significantly faster 2005-04-02 18:52:44 +00:00
strstr.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
strstr.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
strtok.3 Remove license clause 3 to agree with the now-standard BSD license. 2007-12-12 18:33:06 +00:00
strtok.c Remove license clause 3 to agree with the now-standard BSD license. 2007-12-12 18:33:06 +00:00
strxfrm.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
strxfrm.c Further simplify the code. 2008-10-19 09:10:44 +00:00
swab.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
swab.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
Symbol.map Import the strndup(3) function. 2008-12-06 09:37:54 +00:00
wcscat.c
wcschr.c
wcscmp.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
wcscoll.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
wcscoll.c
wcscpy.c
wcscspn.c
wcsdup.c Add an implementation of the semi-standard wcsdup() function, as found 2005-08-13 05:54:33 +00:00
wcslcat.c
wcslcpy.c
wcslen.c
wcsncat.c
wcsncmp.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
wcsncpy.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
wcspbrk.c
wcsrchr.c
wcsspn.c
wcsstr.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
wcstok.3
wcstok.c Remove license clause 3 to agree with the now-standard BSD license. 2007-12-12 18:33:06 +00:00
wcswidth.3
wcswidth.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
wcsxfrm.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
wcsxfrm.c
wmemchr.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
wmemchr.c
wmemcmp.c
wmemcpy.c
wmemmove.c
wmemset.c