Path: ...!Xl.tags.giganews.com!local-4.nntp.ord.giganews.com!nntp.supernews.com!news.supernews.com.POSTED!not-for-mail NNTP-Posting-Date: Wed, 13 Nov 2024 18:13:04 +0000 Sender: Andrew Haley From: aph@littlepinkcloud.invalid Subject: Re: Arm ldaxr / stxr loop question Newsgroups: comp.arch References: <3lGdnVvGQIAq2676nZ2dnZfqnPGdnZ2d@supernews.com> <0TmdnaP6ecXoQ676nZ2dnZfqn_adnZ2d@supernews.com> User-Agent: tin/1.9.2-20070201 ("Dalaruan") (UNIX) (Linux/4.18.0-553.5.1.el8_10.x86_64 (x86_64)) Message-ID: Date: Wed, 13 Nov 2024 18:13:04 +0000 Lines: 31 X-Trace: sv3-6Ex/21rF37uyGOA+R4wbjzYtN47RJt58Ekq49uaTqRLSjNCtlEI37wVegBqTVebLb+EQskjVe8MqMNP!qTfC5j9g9ZEsPSxd1CyP/mIYarSEJT6w67SyOFMn4Y7zy0XZT7Koq3lvj4UINHC7P021MMwPZRxr!kh3XRdwU X-Complaints-To: www.supernews.com/docs/abuse.html X-DMCA-Complaints-To: www.supernews.com/docs/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Bytes: 2609 Terje Mathisen wrote: > aph@littlepinkcloud.invalid wrote: >> Chris M. Thomasson wrote: >> >> That's right, but my point about LDAR on AArch64 is that you can get >> sequential consistency without needing a StoreLoad. LDAR can peek >> inside the store buffer and, much of the time, determine that it isn't >> necessary to do a flush. I don't know if Arm were the first to do >> this, but I don't recall seeing it before. It is a brilliant idea. > > Isn't this just reusing the normal forwarding network? > > If not found, you do as usual and start a regular load operation, but > now you also know that you can skip the flushing of the same? Yes. As long as the data in the store buffer doesn't overlap with what you're about to write, you can ship the flushing. > PS. I do agree that it is a good idea (even patent-worthy?), but not > brilliant since it is so very obvious in hindsight. LOL! :-) > > To me brilliant is something that still isn't obvious after larning > about it. You have very high standards. Andrew.