diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-06-05 07:58:11 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-06-05 07:58:23 -0700 |
commit | 30cb625a21bc7ad450fdc45d1f682e2b27c353de (patch) | |
tree | e104957e2f5bf150b00ad8cb31dbb19e1275dc0f /sysdeps/x86_64/fpu/s_atanl.c | |
parent | 7395928b957ebb35afb696c3278d14122aa97b51 (diff) | |
download | glibc-30cb625a21bc7ad450fdc45d1f682e2b27c353de.tar.gz glibc-30cb625a21bc7ad450fdc45d1f682e2b27c353de.tar.xz glibc-30cb625a21bc7ad450fdc45d1f682e2b27c353de.zip |
x86-64: Update strlen.S to support wcslen/wcsnlen
The difference between strlen and wcslen is byte vs int. We can replace pminub and pcmpeqb with pminud and pcmpeqd to turn strlen into wcslen. * sysdeps/x86_64/strlen.S (PMINU): New. (PCMPEQ): Likewise. (SHIFT_RETURN): Likewise. (FIND_ZERO): Replace pcmpeqb with PCMPEQ. (strlen): Add SHIFT_RETURN before ret. Replace pcmpeqb and pminub with PCMPEQ and PMINU. * sysdeps/x86_64/wcsnlen.S: New file.
Diffstat (limited to 'sysdeps/x86_64/fpu/s_atanl.c')
0 files changed, 0 insertions, 0 deletions