]> git.ipfire.org Git - thirdparty/glibc.git/commit
x86: Optimize strchr-evex.S
authorNoah Goldstein <goldstein.w.n@gmail.com>
Fri, 23 Apr 2021 19:56:25 +0000 (15:56 -0400)
committerSunil K Pandey <skpgkp2@gmail.com>
Mon, 2 May 2022 18:50:10 +0000 (11:50 -0700)
commit21252de9ce6bf31507ca5a1798d572ba8d816557
treeda64e7ae042ccda5714b70b1f7f66a9c5b5162af
parent8a1e30d13c1b7cf35777222fdadd3d8c08585882
x86: Optimize strchr-evex.S

No bug. This commit optimizes strchr-evex.S. The optimizations are
mostly small things such as save an ALU in the alignment process,
saving a few instructions in the loop return. The one significant
change is saving 2 instructions in the 4x loop. test-strchr,
test-strchrnul, test-wcschr, and test-wcschrnul are all passing.

Signed-off-by: Noah Goldstein <goldstein.w.n@gmail.com>
(cherry picked from commit 7f3e7c262cab4e2401e4331a6ef29c428de02044)
sysdeps/x86_64/multiarch/strchr-evex.S