public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: "dengjianbo@loongson.cn" <dengjianbo@loongson.cn>
To: "joseph@codesourcery.com" <joseph@codesourcery.com>
Cc: "carlos@redhat.com" <carlos@redhat.com>,
	 "caiyinyu@loongson.cn" <caiyinyu@loongson.cn>,
	 adhemerval.zanella <adhemerval.zanella@linaro.org>,
	 libc-alpha <libc-alpha@sourceware.org>,
	 i.swmail <i.swmail@xen0n.name>,
	 xuchenghua <xuchenghua@loongson.cn>
Subject: Re: Fwd: Re: [PATCH 0/2] LoongArch: Add optimized functions.
Date: Fri, 2 Sep 2022 17:05:11 +0800	[thread overview]
Message-ID: <202209021705104591424@loongson.cn> (raw)
In-Reply-To: <ccc3c93d-07d0-ea9b-562c-aeaec8914f20@loongson.cn>

[-- Attachment #1: Type: text/plain, Size: 1512 bytes --]

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 <joseph@codesourcery.com> 
收件人: 
Carlos O'Donell <carlos@redhat.com> 
抄送: 
caiyinyu <caiyinyu@loongson.cn>, 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


  parent reply	other threads:[~2022-09-02  9:05 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-15  8:57 caiyinyu
2022-08-15  8:57 ` [PATCH 1/2] LoongArch: Add optimized string functions: str{chr, chrnul, cmp, ncmp} caiyinyu
2022-08-15  8:57 ` [PATCH 2/2] LoongArch: Add optimized function: memmove caiyinyu
2022-08-15 14:02 ` [PATCH 0/2] LoongArch: Add optimized functions Carlos O'Donell
2022-08-15 20:46   ` Joseph Myers
     [not found]     ` <ccc3c93d-07d0-ea9b-562c-aeaec8914f20@loongson.cn>
2022-09-02  9:05       ` dengjianbo [this message]
2022-09-02 12:27     ` Adhemerval Zanella Netto
     [not found]       ` <403f78f0-55d9-48cf-c62a-4a0462a76987@loongson.cn>
2022-09-19  2:03         ` dengjianbo
2022-09-19 20:16           ` Adhemerval Zanella Netto
2022-09-20  9:54             ` Xi Ruoyao
2022-09-22 18:05               ` Adhemerval Zanella Netto
2022-09-26 13:49                 ` Xi Ruoyao
2022-09-28 14:22                   ` Richard Henderson
2022-09-28 16:42                     ` Xi Ruoyao
2022-09-28 19:18                       ` Richard Henderson
2022-10-10  1:39                         ` Lulu Cheng
2022-09-29  3:00                       ` Lulu Cheng
2022-09-29 11:45                   ` Adhemerval Zanella Netto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202209021705104591424@loongson.cn \
    --to=dengjianbo@loongson.cn \
    --cc=adhemerval.zanella@linaro.org \
    --cc=caiyinyu@loongson.cn \
    --cc=carlos@redhat.com \
    --cc=i.swmail@xen0n.name \
    --cc=joseph@codesourcery.com \
    --cc=libc-alpha@sourceware.org \
    --cc=xuchenghua@loongson.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).