1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/lib/libc/i386
Jilles Tjoelker 220856f376 libc: Remove the i386 assembler version of strlen(3).
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
2010-10-01 13:10:11 +00:00
..
gen Retire the amd64 and i386 specific inline assembly versions of ldexp.c, 2010-09-30 19:20:21 +00:00
stdlib Remove hand-written labs/abs implementations. GCC is smart enough. 2009-06-23 09:04:59 +00:00
string libc: Remove the i386 assembler version of strlen(3). 2010-10-01 13:10:11 +00:00
sys Unconditionally build wrappers for i386_get_ioperm(), i386_set_ioperm(), 2009-04-01 19:23:46 +00:00
_fpmath.h Add an alternative view of the bits in an 80-bit long double (64+16 2008-01-17 16:39:07 +00:00
arith.h
gd_qnan.h
Makefile.inc
Symbol.map
SYS.h Add missing END() macros, as per rev 184547 for amd64. The lack of these 2008-11-02 01:28:47 +00:00