diff options
author | Noah Goldstein <goldstein.w.n@gmail.com> | 2022-03-25 17:13:33 -0500 |
---|---|---|
committer | Noah Goldstein <goldstein.w.n@gmail.com> | 2022-03-28 15:00:03 -0500 |
commit | 244b415d386487521882debb845a040a4758cb18 (patch) | |
tree | 25037631403bb43edecf213273f0a8cf28ec9b15 /sysdeps/pthread/tst-mtx-recursive.c | |
parent | f5bff979d02cf115be94c0c0c6f1a1a505964772 (diff) | |
download | glibc-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/tst-mtx-recursive.c')
0 files changed, 0 insertions, 0 deletions