diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2021-07-08 16:13:17 -0400 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2022-02-01 12:25:00 -0800 |
commit | 8ad5519ae1cbfff987c5335253dfaa6bbccdddcb (patch) | |
tree | 343db77be5a68b94bf589387f74393b56daeb39e /manual/examples/filesrv.c | |
parent | 23bc964c62c155fe50f19ed3bf6bb451d556a29d (diff) | |
download | glibc-8ad5519ae1cbfff987c5335253dfaa6bbccdddcb.zip glibc-8ad5519ae1cbfff987c5335253dfaa6bbccdddcb.tar.gz glibc-8ad5519ae1cbfff987c5335253dfaa6bbccdddcb.tar.bz2 |
x86-64: Test strlen and wcslen with 0 in the RSI register [BZ #28064]
commit 6f573a27b6c8b4236445810a44660612323f5a73
Author: Noah Goldstein <goldstein.w.n@gmail.com>
Date: Wed Jun 23 01:19:34 2021 -0400
x86-64: Add wcslen optimize for sse4.1
added wcsnlen-sse4.1 to the wcslen ifunc implementation list. Since the
random value in the the RSI register is larger than the wide-character
string length in the existing wcslen test, it didn't trigger the wcslen
test failure. Add a test to force 0 into the RSI register before calling
wcslen.
(cherry picked from commit a6e7c3745d73ff876b4ba6991fb00768a938aef5)
Diffstat (limited to 'manual/examples/filesrv.c')
0 files changed, 0 insertions, 0 deletions