aboutsummaryrefslogtreecommitdiff
path: root/io/stat.c
diff options
context:
space:
mode:
authorNoah Goldstein <goldstein.w.n@gmail.com>2022-03-25 17:13:33 -0500
committerNoah Goldstein <goldstein.w.n@gmail.com>2022-03-28 15:00:03 -0500
commit244b415d386487521882debb845a040a4758cb18 (patch)
tree25037631403bb43edecf213273f0a8cf28ec9b15 /io/stat.c
parentf5bff979d02cf115be94c0c0c6f1a1a505964772 (diff)
downloadglibc-244b415d386487521882debb845a040a4758cb18.tar
glibc-244b415d386487521882debb845a040a4758cb18.tar.gz
glibc-244b415d386487521882debb845a040a4758cb18.tar.bz2
glibc-244b415d386487521882debb845a040a4758cb18.zip
x86: Small improvements for wcslen
Just a few QOL changes. 1. Prefer `add` > `lea` as it has high execution units it can run on. 2. Don't break macro-fusion between `test` and `jcc` 3. Reduce code size by removing gratuitous padding bytes (-90 bytes). geometric_mean(N=20) of all benchmarks New / Original: 0.959 All string/memory tests pass. Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'io/stat.c')
0 files changed, 0 insertions, 0 deletions