aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86_64/strnlen.S
AgeCommit message (Collapse)Author
2024-01-01Update copyright dates with scripts/update-copyrightsPaul Eggert
2023-01-06Update copyright dates with scripts/update-copyrightsJoseph Myers
2022-07-16x86: Add support to build strcmp/strlen/strchr with explicit ISA levelNoah Goldstein
1. Add default ISA level selection in non-multiarch/rtld implementations. 2. Add ISA level build guards to different implementations. - I.e strcmp-avx2.S which is ISA level 3 will only build if compiled ISA level <= 3. Otherwise there is no reason to include it as we will always use one of the ISA level 4 implementations (strcmp-evex.S). 3. Refactor the ifunc selector and ifunc implementation list to use the ISA level aware wrapper macros that allow functions below the compiled ISA level (with a guranteed replacement) to be skipped. Tested with and without multiarch on x86_64 for ISA levels: {generic, x86-64-v2, x86-64-v3, x86-64-v4} And m32 with and without multiarch.
2022-07-13x86: Move strlen SSE2 implementation to multiarch/strlen-sse2.SNoah Goldstein
This commit doesn't affect libc.so.6, its just housekeeping to prepare for adding explicit ISA level support. Tested build on x86_64 and x86_32 with/without multiarch.
2013-03-18Faster strlen on x64.Ondrej Bilka
2013-03-06Revert " * sysdeps/x86_64/strlen.S: Replace with new SSE2 based implementation"Ondrej Bilka
This reverts commit b79188d71716b6286866e06add976fe84100595e.
2013-03-06 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based implementationOndrej Bilka
which is faster on all x86_64 architectures. Tested on AMD, Intel Nehalem, SNB, IVB.
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert
2010-07-26Add optimized x86-64 implementation of strnlen.Ulrich Drepper
While at it, beef up the test suite for strnlen and add performance tests for it, too.