Sujet : Re: portable proxy collector test...
De : aph (at) *nospam* littlepinkcloud.invalid
Groupes : comp.archDate : 09. Dec 2024, 11:22:22
Autres entêtes
Message-ID : <xsudnQ8ZjYJDWcv6nZ2dnZfqn_ednZ2d@supernews.com>
References : 1 2 3 4 5
User-Agent : tin/1.9.2-20070201 ("Dalaruan") (UNIX) (Linux/4.18.0-553.27.1.el8_10.x86_64 (x86_64))
Chris M. Thomasson <
chris.m.thomasson.1@gmail.com> wrote:
>
Which compiler did you choose.? armv8?? Try ARM64.
The newer arms have new atomics
cas and atomic fetch ops.
LDREX/STREX is the older load store reserved.
On the newer stuff it's ldxr/stxr not ldrex/strex.
Well, for a ARM64 gcc 14.2.0 a relaxed fetch_add I get
__aarch64_ldadd8_acq_rel in the asm.
For gcc 13.2.1 -O2 -march=armv8.1-a I see a mixture of acq/rel and
relaxed. Are you sure you're looking at the right one?
Andrew.