aboutsummaryrefslogtreecommitdiff
path: root/string/strchr.c
diff options
context:
space:
mode:
authorNoah Goldstein <goldstein.w.n@gmail.com>2022-03-23 16:57:38 -0500
committerNoah Goldstein <goldstein.w.n@gmail.com>2022-03-25 11:46:13 -0500
commitd154758e618ec9324f5d339c46db0aa27e8b1226 (patch)
tree1ab03f58b477730088bdb512e15b315196403047 /string/strchr.c
parent670b54bc585ea4a94f3b2e9272ba44aa6b730b73 (diff)
downloadglibc-d154758e618ec9324f5d339c46db0aa27e8b1226.tar
glibc-d154758e618ec9324f5d339c46db0aa27e8b1226.tar.gz
glibc-d154758e618ec9324f5d339c46db0aa27e8b1226.tar.bz2
glibc-d154758e618ec9324f5d339c46db0aa27e8b1226.zip
x86: Optimize str{n}casecmp TOLOWER logic in strcmp-sse42.S
Slightly faster method of doing TOLOWER that saves an instruction. Also replace the hard coded 5-byte no with .p2align 4. On builds with CET enabled this misaligned entry to strcasecmp. geometric_mean(N=40) of all benchmarks New / Original: .920 All string/memory tests pass. Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'string/strchr.c')
0 files changed, 0 insertions, 0 deletions