about summary refs log tree commit diff
path: root/sysdeps/pthread/Makefile
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 /sysdeps/pthread/Makefile
parentf5bff979d02cf115be94c0c0c6f1a1a505964772 (diff)
downloadglibc-244b415d386487521882debb845a040a4758cb18.tar.gz
glibc-244b415d386487521882debb845a040a4758cb18.tar.xz
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 'sysdeps/pthread/Makefile')
0 files changed, 0 insertions, 0 deletions