about summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-02-19 17:46:55 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-02-23 08:50:00 -0300
commit1e9a550ba41a5453c6578bb748fe2223a87e3024 (patch)
treeec31fea111f079661edec13dd62f386c7eee2124 /nptl
parentf4c142bb9fe6b02c0af8cfca8a920091e2dba44b (diff)
downloadglibc-1e9a550ba41a5453c6578bb748fe2223a87e3024.tar.gz
glibc-1e9a550ba41a5453c6578bb748fe2223a87e3024.tar.xz
glibc-1e9a550ba41a5453c6578bb748fe2223a87e3024.zip
powerpc: Remove power7 strstr optimization
The optimization is not faster than the generic algorithm,
using the bench-strstr the geometric mean running on a POWER10 machine
using gcc 13.1.1 is 482.47 while the default __strstr_ppc is 340.97
(which uses the generic implementation).

Also, there is no need to redirect the internal str*/mem* call
to optimized version, internal ifunc is supported and enabled
for internal calls (meaning that the generic implementation
will use any asm optimization if available).

Checked on powerpc64le-linux-gnu.
Reviewed-by: Peter Bergner <bergner@linux.ibm.com>
Diffstat (limited to 'nptl')
0 files changed, 0 insertions, 0 deletions