Hi, Please kindly find the patch via https://sourceware.org/pipermail/libc-alpha/2022-September/141824.html which including the test results comparing with the improved generic version. Best regards, Deng jianbo dengjianbo@loongson.cn 主题: Re: [PATCH 0/2] LoongArch: Add optimized functions. 日期: Mon, 15 Aug 2022 20:46:19 +0000 发件人: Joseph Myers 收件人: Carlos O'Donell 抄送: caiyinyu , adhemerval.zanella@linaro.org, libc-alpha@sourceware.org, i.swmail@xen0n.name, xuchenghua@loongson.cn On Mon, 15 Aug 2022, Carlos O'Donell via Libc-alpha wrote: On 8/15/22 04:57, caiyinyu wrote: > Tested on LoongArch machine: gcc 13.0.0, Linux kernel 5.19.0 rc2, > binutils branch master 2eb132bdfb9. Could you please post microbenchmark results for these changes? How much faster are they from the generic versions? Note that so far we haven't merged the improved generic string functions that were posted a while back (https://sourceware.org/legacy-ml/libc-alpha/2018-01/msg00318.html is the version linked from https://sourceware.org/glibc/wiki/NewPorts - don't know if it's the most recent version). So even if assembly versions are better than the current generic string functions, they might not be better than improved generic versions with architecture-specific implementations of the headers to provide per-architecture tuning. -- Joseph S. Myers joseph@codesourcery.com