Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Frankly, Scarlett, I don't have a fix. -- Rhett Buggler


devel / comp.lang.c++ / Re: DCAS on ARM

SubjectAuthor
* DCAS on ARMBonita Montero
+* Re: DCAS on ARMScott Lurndal
|`* Re: DCAS on ARMBonita Montero
| +* Re: DCAS on ARMScott Lurndal
| |`* Re: DCAS on ARMBonita Montero
| | `* Re: DCAS on ARMScott Lurndal
| |  `- Re: DCAS on ARMBonita Montero
| `* Re: DCAS on ARMChris M. Thomasson
|  `- Re: DCAS on ARMBonita Montero
+- Re: DCAS on ARMBranimir Maksimovic
`* Re: DCAS on ARMChris M. Thomasson
 `- Re: DCAS on ARMBonita Montero

1
DCAS on ARM

<uhbh03$slu2$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2267&group=comp.lang.c%2B%2B#2267

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!news.swapon.de!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c++
Subject: DCAS on ARM
Date: Wed, 25 Oct 2023 18:50:12 +0200
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <uhbh03$slu2$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 25 Oct 2023 16:50:12 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f47c9491e2c7bd9cdc41f34a30b7ce83";
logging-data="939970"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18W2RsMVr7C5JmtZfTuDjVS/5XWmdqKDE8="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:9X2CU7SM4KG3B0JXsSj7e/rhq18=
Content-Language: de-DE
 by: Bonita Montero - Wed, 25 Oct 2023 16:50 UTC

Some years ago I asked if ARM has sth. DCAS-like. I recently had
the idea to test for that on godbolt. With g++ unfortunately I
get a call to __atomic_compare_exchange_16 and I didn't manage
to find the sourcecode for that. But with clang++ i get the
explicit instructions: https://godbolt.org/z/PP1f8xran
Sure there's less need for a DCAS on ARM due to LL/SC, but
there are apllications where a DCAS is necessary.

Re: DCAS on ARM

<VYb_M.87663$%WT8.17000@fx12.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2268&group=comp.lang.c%2B%2B#2268

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer03.ams4!peer.am4.highwinds-media.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx12.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: DCAS on ARM
Newsgroups: comp.lang.c++
References: <uhbh03$slu2$1@dont-email.me>
Lines: 16
Message-ID: <VYb_M.87663$%WT8.17000@fx12.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Wed, 25 Oct 2023 17:09:09 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Wed, 25 Oct 2023 17:09:09 GMT
X-Received-Bytes: 1465
 by: Scott Lurndal - Wed, 25 Oct 2023 17:09 UTC

Bonita Montero <Bonita.Montero@gmail.com> writes:
>Some years ago I asked if ARM has sth. DCAS-like. I recently had
>the idea to test for that on godbolt. With g++ unfortunately I
>get a call to __atomic_compare_exchange_16 and I didn't manage
>to find the sourcecode for that. But with clang++ i get the
>explicit instructions: https://godbolt.org/z/PP1f8xran
>Sure there's less need for a DCAS on ARM due to LL/SC, but
>there are apllications where a DCAS is necessary.

ARMv8.1 added a feature called Large Systems Extension (LSE)
that includes various flavors of compare and swap (8, 16, 32, 64 and 128-bit)
as well as some number of atomic load/store instructions, including
addition, bit set, bit clear, min and max.

ARMv8.0 Load Exclusive/Store Exclusive, like LL/SC doesn't scale well and should
be avoided.

Re: DCAS on ARM

<lZb_M.113423$tnmf.86105@fx09.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2269&group=comp.lang.c%2B%2B#2269

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer01.ams4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx09.iad.POSTED!not-for-mail
Newsgroups: comp.lang.c++
From: branimir...@icloud.com (Branimir Maksimovic)
Subject: Re: DCAS on ARM
References: <uhbh03$slu2$1@dont-email.me>
User-Agent: slrn/1.0.3 (Darwin)
Lines: 16
Message-ID: <lZb_M.113423$tnmf.86105@fx09.iad>
X-Complaints-To: abuse@usenet-news.net
NNTP-Posting-Date: Wed, 25 Oct 2023 17:09:37 UTC
Organization: usenet-news.net
Date: Wed, 25 Oct 2023 17:09:37 GMT
X-Received-Bytes: 1305
 by: Branimir Maksimovic - Wed, 25 Oct 2023 17:09 UTC

On 2023-10-25, Bonita Montero <Bonita.Montero@gmail.com> wrote:
> Some years ago I asked if ARM has sth. DCAS-like. I recently had
> the idea to test for that on godbolt. With g++ unfortunately I
> get a call to __atomic_compare_exchange_16 and I didn't manage
> to find the sourcecode for that. But with clang++ i get the
> explicit instructions: https://godbolt.org/z/PP1f8xran
> Sure there's less need for a DCAS on ARM due to LL/SC, but
> there are apllications where a DCAS is necessary.
ARM v8.1 and later have DCAS:
https://developer.arm.com/documentation/dui0801/g/A64-Data-Transfer-Instructions/CASPA--CASPAL--CASP--CASPL--CASPAL--CASP--CASPL

--

7-77-777, Evil Sinner!
https://www.linkedin.com/in/branimir-maksimovic-6762bbaa/

Re: DCAS on ARM

<uhbl3k$tt3j$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2270&group=comp.lang.c%2B%2B#2270

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c++
Subject: Re: DCAS on ARM
Date: Wed, 25 Oct 2023 20:00:21 +0200
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <uhbl3k$tt3j$1@dont-email.me>
References: <uhbh03$slu2$1@dont-email.me> <VYb_M.87663$%WT8.17000@fx12.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 25 Oct 2023 18:00:20 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f47c9491e2c7bd9cdc41f34a30b7ce83";
logging-data="980083"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19XzWC+vstkl/782fm1bxAIm0ZQoWNezgY="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:5nKPJ255YxkBU9ZQpb2J43cD5vY=
Content-Language: de-DE
In-Reply-To: <VYb_M.87663$%WT8.17000@fx12.iad>
 by: Bonita Montero - Wed, 25 Oct 2023 18:00 UTC

Am 25.10.2023 um 19:09 schrieb Scott Lurndal:

> ARMv8.0 Load Exclusive/Store Exclusive, like LL/SC doesn't scale well and should
> be avoided.

Maybe it would be nice to have sth. like LL/SC with multiple stores
to the same cacheline that are buffered until the last store and the
whole thing fails if the cacheline has been modified or an interrupt
has happened. I've currently no idea for an actual algorithm using
a transaction on a whole cacheline but there may be some new kind
of lock-free programming with that.

Re: DCAS on ARM

<Eze_M.24570$CIO.3460@fx01.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2272&group=comp.lang.c%2B%2B#2272

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!news.neodome.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer01.ams4!peer.am4.highwinds-media.com!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx01.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: DCAS on ARM
Newsgroups: comp.lang.c++
References: <uhbh03$slu2$1@dont-email.me> <VYb_M.87663$%WT8.17000@fx12.iad> <uhbl3k$tt3j$1@dont-email.me>
Lines: 12
Message-ID: <Eze_M.24570$CIO.3460@fx01.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Wed, 25 Oct 2023 20:07:00 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Wed, 25 Oct 2023 20:07:00 GMT
X-Received-Bytes: 1190
 by: Scott Lurndal - Wed, 25 Oct 2023 20:07 UTC

Bonita Montero <Bonita.Montero@gmail.com> writes:
>Am 25.10.2023 um 19:09 schrieb Scott Lurndal:
>
>> ARMv8.0 Load Exclusive/Store Exclusive, like LL/SC doesn't scale well and should
>> be avoided.
>
>Maybe it would be nice to have sth. like LL/SC with multiple stores
>to the same cacheline that are buffered until the last store and the

See

https://developer.arm.com/documentation/102873/latest/The-Arm-Transactional-Memory-Extension

Re: DCAS on ARM

<uhc2ib$11sgp$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2273&group=comp.lang.c%2B%2B#2273

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!news.chmurka.net!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c++
Subject: Re: DCAS on ARM
Date: Wed, 25 Oct 2023 14:50:02 -0700
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <uhc2ib$11sgp$1@dont-email.me>
References: <uhbh03$slu2$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 25 Oct 2023 21:50:03 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="32a2e1663c49ca7650f336158f268f0b";
logging-data="1110553"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+4ugQTMydJlH3Y0p/CSrlLVb3+S/bdzvA="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:QZ76TNuF8kA9Acn6j5FqH34fYcc=
In-Reply-To: <uhbh03$slu2$1@dont-email.me>
Content-Language: en-US
 by: Chris M. Thomasson - Wed, 25 Oct 2023 21:50 UTC

On 10/25/2023 9:50 AM, Bonita Montero wrote:
> Some years ago I asked if ARM has sth. DCAS-like. I recently had
> theĀ  idea to test for that on godbolt. With g++ unfortunately I
> get a call to __atomic_compare_exchange_16 and I didn't manage
> to find the sourcecode for that. But with clang++ i get the
> explicit instructions: https://godbolt.org/z/PP1f8xran
> Sure there's less need for a DCAS on ARM due to LL/SC, but
> there are apllications where a DCAS is necessary.

Fwiw, DWCAS operates on two _contiguous_ words. DCAS can work with two
words that are _not_ contiguous. They are completely different
primitives Bonita. Basically, DWCAS on a 64-bit system would be a
128-bit CAS. Now, there is a rather strange function on the Itanium.
cmp8xchg16, its a fun function. :^)

Also, check out the KCSS function from SUN, k-compare single swap:

https://groups.google.com/g/comp.arch/c/shshLdF1uqs/m/VLmZSCBGDTkJ

Re: DCAS on ARM

<uhc2n5$11sgp$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2274&group=comp.lang.c%2B%2B#2274

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c++
Subject: Re: DCAS on ARM
Date: Wed, 25 Oct 2023 14:52:36 -0700
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <uhc2n5$11sgp$2@dont-email.me>
References: <uhbh03$slu2$1@dont-email.me> <VYb_M.87663$%WT8.17000@fx12.iad>
<uhbl3k$tt3j$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 25 Oct 2023 21:52:37 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="32a2e1663c49ca7650f336158f268f0b";
logging-data="1110553"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/tlxZTtmTkNcIqbr3UPHNSsb9M4mCWJks="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:KtcAuBaeSwjuPcOC93i8Iz5VCcg=
In-Reply-To: <uhbl3k$tt3j$1@dont-email.me>
Content-Language: en-US
 by: Chris M. Thomasson - Wed, 25 Oct 2023 21:52 UTC

On 10/25/2023 11:00 AM, Bonita Montero wrote:
> Am 25.10.2023 um 19:09 schrieb Scott Lurndal:
>
>> ARMv8.0 Load Exclusive/Store Exclusive, like LL/SC doesn't scale well
>> and should
>> be avoided.
>
> Maybe it would be nice to have sth. like LL/SC with multiple stores
> to the same cacheline that are buffered until the last store and the
> whole thing fails if the cacheline has been modified or an interrupt
> has happened. I've currently no idea for an actual algorithm using
> a transaction on a whole cacheline but there may be some new kind
> of lock-free programming with that.
>

Transactional memory has been a thorn in my side way back, some decades
ago. Never really liked it. Its prone to live lock, and other issues.
Also, be wary of LL/SC, if you use it wrong it can cause live lock. You
basically have to keep the size of the reservation granule in mind. For
instance, false sharing on a reservation granule can cause live lock.

Re: DCAS on ARM

<uhe1qf$1mjg1$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2282&group=comp.lang.c%2B%2B#2282

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c++
Subject: Re: DCAS on ARM
Date: Thu, 26 Oct 2023 17:49:36 +0200
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <uhe1qf$1mjg1$1@dont-email.me>
References: <uhbh03$slu2$1@dont-email.me> <VYb_M.87663$%WT8.17000@fx12.iad>
<uhbl3k$tt3j$1@dont-email.me> <Eze_M.24570$CIO.3460@fx01.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 26 Oct 2023 15:49:35 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f16ea3b80b165846fe7f30b4753690c5";
logging-data="1789441"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+5ZuQSrYUXDBCCwP8ZX3oyoTQWJwdWIi4="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:DIxF3K8yUzsBn2ahh7CCUyMRLjc=
In-Reply-To: <Eze_M.24570$CIO.3460@fx01.iad>
Content-Language: de-DE
 by: Bonita Montero - Thu, 26 Oct 2023 15:49 UTC

Am 25.10.2023 um 22:07 schrieb Scott Lurndal:

> https://developer.arm.com/documentation/102873/latest/The-Arm-Transactional-Memory-Extension

Transactional memory goes further than my idea and is rather slow. Thats
while at the end of a transaction all cachelines in the L1 -cache that
have marked as modified will be marked as committed. The idea I had is
simply to buffer all accesses to a _single_ cacheline until the last
conditional store writes to the cacheline.

Re: DCAS on ARM

<uhe1se$1mjg1$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2283&group=comp.lang.c%2B%2B#2283

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c++
Subject: Re: DCAS on ARM
Date: Thu, 26 Oct 2023 17:50:40 +0200
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <uhe1se$1mjg1$2@dont-email.me>
References: <uhbh03$slu2$1@dont-email.me> <VYb_M.87663$%WT8.17000@fx12.iad>
<uhbl3k$tt3j$1@dont-email.me> <uhc2n5$11sgp$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 26 Oct 2023 15:50:38 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f16ea3b80b165846fe7f30b4753690c5";
logging-data="1789441"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX186c3Jfe9pDlTKRDcCPLjW/UtfUbDVdopo="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:816gHh/JjDIsBrsS7pgKlkaZj3w=
In-Reply-To: <uhc2n5$11sgp$2@dont-email.me>
Content-Language: de-DE
 by: Bonita Montero - Thu, 26 Oct 2023 15:50 UTC

Am 25.10.2023 um 23:52 schrieb Chris M. Thomasson:

> Transactional memory has been a thorn in my side way back, ...

My idea doesn't go that far like transactional memory but has
the potential to be much faster since the transaction applies
only to a single cacheline.

Re: DCAS on ARM

<uhe1uh$1mjg1$3@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2284&group=comp.lang.c%2B%2B#2284

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c++
Subject: Re: DCAS on ARM
Date: Thu, 26 Oct 2023 17:51:46 +0200
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <uhe1uh$1mjg1$3@dont-email.me>
References: <uhbh03$slu2$1@dont-email.me> <uhc2ib$11sgp$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 26 Oct 2023 15:51:45 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f16ea3b80b165846fe7f30b4753690c5";
logging-data="1789441"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX198kQ20gBEQAJ0gVLAXkx7H9MSkf3qeAy4="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:SvxssJOsg/2fLaNS2d5/9u4iSqM=
In-Reply-To: <uhc2ib$11sgp$1@dont-email.me>
Content-Language: de-DE
 by: Bonita Montero - Thu, 26 Oct 2023 15:51 UTC

Am 25.10.2023 um 23:50 schrieb Chris M. Thomasson:

> Fwiw, DWCAS operates on two _contiguous_ words. DCAS can work with
> two words that are _not_ contiguous. They are completely different
> primitives Bonita. Basically, DWCAS on a 64-bit system would be a
> 128-bit CAS. Now, there is a rather strange function on the Itanium.
> cmp8xchg16, its a fun function. :^)

Where did I sth. that was wrong about that ?

Re: DCAS on ARM

<i8w_M.114868$tnmf.20956@fx09.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2285&group=comp.lang.c%2B%2B#2285

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!rocksolid2!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx09.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: DCAS on ARM
Newsgroups: comp.lang.c++
References: <uhbh03$slu2$1@dont-email.me> <VYb_M.87663$%WT8.17000@fx12.iad> <uhbl3k$tt3j$1@dont-email.me> <Eze_M.24570$CIO.3460@fx01.iad> <uhe1qf$1mjg1$1@dont-email.me>
Lines: 12
Message-ID: <i8w_M.114868$tnmf.20956@fx09.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Thu, 26 Oct 2023 16:06:38 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Thu, 26 Oct 2023 16:06:38 GMT
X-Received-Bytes: 1271
 by: Scott Lurndal - Thu, 26 Oct 2023 16:06 UTC

Bonita Montero <Bonita.Montero@gmail.com> writes:
>Am 25.10.2023 um 22:07 schrieb Scott Lurndal:
>
>> https://developer.arm.com/documentation/102873/latest/The-Arm-Transactional-Memory-Extension
>
>Transactional memory goes further than my idea and is rather slow. Thats
>while at the end of a transaction all cachelines in the L1 -cache that
>have marked as modified will be marked as committed. The idea I had is
>simply to buffer all accesses to a _single_ cacheline until the last
>conditional store writes to the cacheline.

https://en.wikipedia.org/wiki/MESI_protocol#Store_Buffer

Re: DCAS on ARM

<uhe5b5$1nk7a$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2286&group=comp.lang.c%2B%2B#2286

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c++
Subject: Re: DCAS on ARM
Date: Thu, 26 Oct 2023 18:49:42 +0200
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <uhe5b5$1nk7a$1@dont-email.me>
References: <uhbh03$slu2$1@dont-email.me> <VYb_M.87663$%WT8.17000@fx12.iad>
<uhbl3k$tt3j$1@dont-email.me> <Eze_M.24570$CIO.3460@fx01.iad>
<uhe1qf$1mjg1$1@dont-email.me> <i8w_M.114868$tnmf.20956@fx09.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 26 Oct 2023 16:49:41 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f16ea3b80b165846fe7f30b4753690c5";
logging-data="1822954"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19L182zHM0ervDzmyfB/oP3JErvsAm11/E="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:hNzhZAhgRevF3ZzHn4JqcpcnEEw=
In-Reply-To: <i8w_M.114868$tnmf.20956@fx09.iad>
Content-Language: de-DE
 by: Bonita Montero - Thu, 26 Oct 2023 16:49 UTC

Am 26.10.2023 um 18:06 schrieb Scott Lurndal:

> Bonita Montero <Bonita.Montero@gmail.com> writes:

>> Transactional memory goes further than my idea and is rather slow. Thats
>> while at the end of a transaction all cachelines in the L1 -cache that
>> have marked as modified will be marked as committed. The idea I had is
>> simply to buffer all accesses to a _single_ cacheline until the last
>> conditional store writes to the cacheline.

> https://en.wikipedia.org/wiki/MESI_protocol#Store_Buffer

You coudln't call my idea a store buffer because the "store buffer"
would be discarded if the cacheline is modified.


devel / comp.lang.c++ / Re: DCAS on ARM

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor