Lephenixnoir
a0ceeefaf4
string: fix strtok detecting NUL only after separators
2021-08-17 17:30:21 +02:00
Lephenixnoir
1e7e2c656b
string: add and test strtok (DONE)
2021-05-24 10:25:32 +02:00
Lephenixnoir
df9073e6ff
string: add and test str[n]casecmp and KMP str[case]str (DONE)
2021-05-24 10:04:54 +02:00
Lephenixnoir
8ffc104798
string: add and test strpbrk (DONE)
2021-05-23 18:11:12 +02:00
Lephenixnoir
d105b1d60a
string: add stubs for strcoll and strxfrm (TEST)
...
These extend the stub locale; strcoll is simply strcmp and strxfrm is
simply strncpy.
2021-05-23 18:07:36 +02:00
Lephenixnoir
cda27ac2db
string: add and test strspn and strcspn (DONE)
2021-05-23 18:02:38 +02:00
Lephenixnoir
8368ba70fd
string: split and fix strdup and strndup (DONE)
2021-05-23 17:58:04 +02:00
Lephenixnoir
b78cec4f6d
string: add and test strerror (DONE)
2021-05-23 17:44:37 +02:00
Lephenixnoir
3792bbd9d1
string: split strcat and strncat (DONE)
2021-05-23 17:28:48 +02:00
Lephenixnoir
5d345b8da2
string: split and fix strcpy and strncpy (DONE)
2021-05-23 17:28:20 +02:00
Lephenixnoir
d5ef8298ae
string: split strcmp and strncmp (DONE)
2021-05-23 17:27:58 +02:00
Lephenixnoir
ab8bcc6928
string: use gint's (not-so-optimized-yet) memmove (DONE)
2021-05-23 16:52:39 +02:00
Lephenixnoir
fd0d67191c
string: add memchr, memcmp, memmove for non-SuperH (TEST)
2021-05-23 16:52:39 +02:00
Lephenixnoir
5cfd2a7d85
string: use gint's optimized memcmp (DONE)
2021-05-23 16:52:35 +02:00
Lephenixnoir
a354e38ccf
string: use gint's optimized memcpy (DONE)
2021-05-23 16:52:33 +02:00
Lephenixnoir
b69e0fd299
string: use gint's optimized memset (DONE)
2021-05-23 16:52:29 +02:00
Lephenixnoir
bd344d5bb2
string: split strchr, strchrnul and strrchr (TEST)
2021-05-23 16:07:01 +02:00
Lephenixnoir
6021c536f7
string: split strnlen, optimize strlen in assembler (DONE)
...
This change provides an optimized hand-written strlen function for
SuperH targets. The original plan was to declare the C-based naive
version weak and just let the linker figure out the proper one to use,
but unfortunately static libraries don't work like that; ld
intentionally stops at the first version even if it's weak. Instead,
some #ifdef's are used in the C-based strlen to not compile it when
unneeded.
The optimized strlen uses 4-byte accesses and cmp/str.
2021-05-23 16:00:12 +02:00
Lephenixnoir
a48c163e55
string: add SH4AL-DSP optimizations for memchr (DONE)
2021-05-23 15:51:09 +02:00
Lephenixnoir
d6f606fa5c
string: add and test an optimized memchr (DONE)
...
This version works on both SH3 and SH4.
2021-05-23 14:30:35 +02:00
Lephenixnoir
e719af2f63
update include hierarchy
2021-05-09 17:59:07 +02:00
Lephenixnoir
ad9f92873b
new build system and source file hierarchy
2021-05-09 14:56:08 +02:00