Stop using glibc's asm strlen and use our own.
Mostly done because olta want less dependency on glibc. It should also make porting a tiny bit simpler. Testresults, mean values on Haiku from libMicro: * with glibc: strlen_10: 0.03859S, strlen_1k: 1.67075S. * with strlen.cpp: strlen_10: 0.03854S, strlen_1k: 1.66938S. So at least on my machine it's possible to beat glibc ;)
This commit is contained in:
@@ -112,7 +112,6 @@ MergeObject posix_gnu_arch_$(TARGET_ARCH)_other.o :
|
|||||||
mplog.c
|
mplog.c
|
||||||
mul_1.S
|
mul_1.S
|
||||||
lshift.S rshift.S
|
lshift.S rshift.S
|
||||||
strlen.S
|
|
||||||
sub_n.S
|
sub_n.S
|
||||||
submul_1.S
|
submul_1.S
|
||||||
;
|
;
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ MergeObject posix_string.o :
|
|||||||
strerror.c
|
strerror.c
|
||||||
strlcat.c
|
strlcat.c
|
||||||
strlcpy.c
|
strlcpy.c
|
||||||
|
strlen.cpp
|
||||||
strlwr.c
|
strlwr.c
|
||||||
strncat.c
|
strncat.c
|
||||||
strncmp.c
|
strncmp.c
|
||||||
|
|||||||
Reference in New Issue
Block a user