Wilco Dijkstra
|
16f87cfd63
|
String benchtest cleanup
Continue cleanup of the string benchtests. Remove simplistic
byte-oriented versions with faster generic implementations.
Remove bcopy/bzero benchmarks (bcopy/bzero are obsolete and never
emitted by compilers). Remove builtin versions of memcpy, memset
and strlen. Remove all remaining "stupid" implementations given
they are always slower than the "simple" variants and thus don't
add anything useful.
* benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
* benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
* benchtests/bench-strchr.c (stupid_strchr): Remove.
* benchtests/bench-strcmp.c (stupid_strcmp): Remove.
* benchtests/bench-strcspn.c (stupid_strcspn): Remove.
* benchtests/bench-strlen.c (builtin_strlen): Remove.
* benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
* benchtests/bench-strncmp.c (stupid_strncmp): Remove.
* benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
* benchtests/bench-strspn.c (stupid_strspn): Remove.
* benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
* benchtests/bench-bcopy.c: Delete file.
* benchtests/bench-bzero.c: Likewise.
* benchtests/bench-memccpy.c (stupid_memccpy): Remove.
(simple_memccpy): Remove.
(generic_memccpy): Add function.
* benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
* benchtests/bench-memmove.c (simple_bcopy): Remove.
* benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
(generic_mempcpy): Add new function.
* benchtests/bench-memset.c (simple_bzero): Remove.
(builtin_bzero): Remove.
(builtin_memset): Remove.
* benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
(generic_rawmemchr): Add new function.
|
2019-02-12 17:19:51 +00:00 |
|
Joseph Myers
|
04277e02d7
|
Update copyright dates with scripts/update-copyrights.
* All files with FSF copyright notices: Update copyright dates
using scripts/update-copyrights.
* locale/programs/charmap-kw.h: Regenerated.
* locale/programs/locfile-kw.h: Likewise.
|
2019-01-01 00:11:28 +00:00 |
|
Joseph Myers
|
688903eb3e
|
Update copyright dates with scripts/update-copyrights.
* All files with FSF copyright notices: Update copyright dates
using scripts/update-copyrights.
* locale/programs/charmap-kw.h: Regenerated.
* locale/programs/locfile-kw.h: Likewise.
|
2018-01-01 00:32:25 +00:00 |
|
Joseph Myers
|
bfff8b1bec
|
Update copyright dates with scripts/update-copyrights.
|
2017-01-01 00:14:16 +00:00 |
|
Joseph Myers
|
f7a9f785e5
|
Update copyright dates with scripts/update-copyrights.
|
2016-01-04 16:05:18 +00:00 |
|
Joseph Myers
|
b168057aaa
|
Update copyright dates with scripts/update-copyrights.
|
2015-01-02 16:29:47 +00:00 |
|
Allan McRae
|
d4697bc93d
|
Update copyright notices with scripts/update-copyrights
|
2014-01-01 22:00:23 +10:00 |
|
Siddhesh Poyarekar
|
9702047480
|
Copy over string performance tests into benchtests
Copy over already existing string performance tests into benchtests.
Bits not related to performance measurements have been omitted.
|
2013-06-11 15:08:13 +05:30 |
|