From: =?gb18030?B?ODQ3NTY3MTYx?= <847567161@qq.com>
To: =?gb18030?B?bXVzbA==?= <musl@lists.openwall.com>
Subject: [musl] =?gb18030?B?UmU6UmU6IFJlOiBbbXVzbF0gUXVlc3Rpb26juldoeSBtdXNsIGNhbGwgYV9iYXJyaWVyIGluIF9fcHRocmVhZF9vbmNlPw==?=
Date: Mon, 22 May 2023 09:53:05 +0800 [thread overview]
Message-ID: <tencent_38BCF80DB338A46040E1ECE710B8D1F8E507@qq.com> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb18030", Size: 525 bytes --]
Hi
>Besides it doesn't help your case. You wanted to remove the "dmb"
>instruction right? Well, that code adds it if the compiler thinks it is
>necessary, and GCC trunk for ARM does so: https://godbolt.org/z/WcrfTdTx5
I compared the implement between musl and bionic in assembly code,
I see bionic don't generate 'dmb' with clang, you can also check in here,
https://godbolt.org/z/hroY3cc4d
So it has better performance in comman case which init function is done.
So can we do any optimization here?
Chuang Yin
next reply other threads:[~2023-05-22 1:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-22 1:53 =?gb18030?B?ODQ3NTY3MTYx?= [this message]
2023-05-23 19:41 ` [musl] Re:Re: Re: [musl] Question:Why musl call a_barrier in __pthread_once? Szabolcs Nagy
-- strict thread matches above, loose matches on Subject: below --
2023-05-18 14:37 [musl] =?gb18030?B?UmU6UmU6IFJlOiBbbXVzbF0gUXVlc3Rpb26juldoeSBtdXNsIGNhbGwgYV9iYXJyaWVyIGluIF9fcHRocmVhZF9vbmNlPw==?= =?gb18030?B?ODQ3NTY3MTYx?=
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=tencent_38BCF80DB338A46040E1ECE710B8D1F8E507@qq.com \
--to=847567161@qq.com \
--cc=musl@lists.openwall.com \
/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.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
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 NNTP newsgroup(s).