diff options
| author | Noah Goldstein <goldstein.w.n@gmail.com> | 2022-03-23 16:57:36 -0500 |
|---|---|---|
| committer | Noah Goldstein <goldstein.w.n@gmail.com> | 2022-03-25 11:46:13 -0500 |
| commit | 670b54bc585ea4a94f3b2e9272ba44aa6b730b73 (patch) | |
| tree | e665017c6de250124cc300339986041a769b2ccb /debug | |
| parent | 46d19d1b83c52cc92d8215c7a1a032bcab3d271c (diff) | |
| download | glibc-670b54bc585ea4a94f3b2e9272ba44aa6b730b73.tar.xz glibc-670b54bc585ea4a94f3b2e9272ba44aa6b730b73.zip | |
x86: Optimize str{n}casecmp TOLOWER logic in strcmp.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: .894
All string/memory tests pass.
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'debug')
0 files changed, 0 insertions, 0 deletions
