Re: Arm ldaxr / stxr loop question

Liste des GroupesRevenir à c arch 
Sujet : Re: Arm ldaxr / stxr loop question
De : kegs (at) *nospam* provalid.com (Kent Dickey)
Groupes : comp.arch
Date : 14. Nov 2024, 07:24:32
Autres entêtes
Organisation : provalid.com
Message-ID : <vh4530$2mar5$1@dont-email.me>
References : 1 2 3 4
User-Agent : trn 4.0-test76 (Apr 2, 2001)
In article <YfxXO.384093$EEm7.56154@fx16.iad>,
Scott Lurndal <slp53@pacbell.net> wrote:
Do read B2.3 Definition of the Arm memory model.  It's only 32 pages,
and very clearly defines the memory model.

Your definition of "clearly" differs from mine.

Look at Pick dependencies on page B2-239 and B2-240:
(I'm replacing complicating details with "blah blah" or "A, B, C", to
highlight the issue I want to point out)

---
Pick Basic dependency:
There is A, B, C, or a Pick dependency between E1 and E2
Pick Data dependency:
There is a Pick Basic dependency from E1 to E2 and blah blah.
Pick Address dependency:
There is a Pick Data dependency from E1 to E3 and E2 is blah blah
Pick Control dependency:
This is a Pick Basic dependency from E1 to E3 and E2 is blah blah
Pick Dependency:
There is a Pick Basic, Pick Address, Pick Data, or Pick Control
dependency from E1 to E2
---

This is completely circular, and never defines what "pick" is.

Even better, let's look at the actual words for Pick Basic Dependency:

---
Pick Basic Dependency:
There is a Pick Basic dependency from an effect E1 to an effect
E2 if one of the following applies:
1) One of the following applies:
a) E1 is an Explicit Memory Read effect
b) E1 is a Register Read effect
2) One of the following applies:
a) There is a Pick dependency through registers and memory
from E1 to E2
b) E1 and E2 are the same effect
---

Using the words as they are written, if any of 1a, 1b, 2a, or 2a is
true, a Pick Basic dependency exists between E1 and E2.  To give
background, E1 and E2 are any events (effects) and not necessarily in
program order (E2 could be before E1, and can be on another CPU, the
event numbering system is not defined to indicate program order and when
they want to say E1 is in program order before E2 it seems to always
explicitly say so, and there are LOTS of other places where they create
a third event, E3, which may be between E1 and E2).  I'm using event
interchangeably with effect since I think effect is a terrible term.

So by rule 1a by itself, a Pick Basic Dependency exists
between a Load instruction (an example of an Explicit Memory Read, I'm
assuming, as best as I can tell, an Explicit Memory Read is not really
defined) and every other possible event in that system happening before or
after that load.

So what does this mean?  I literally have no idea what they are trying to
get at here.

If E1 and E2 are the "same effect", does that mean it's the same
instruction/operation, or just the same type of operation (like two loads),
or what?  If there was an "overview" summarizing ordering in English,
then it I could interpret the looseness better.

I want to make it clear that I don't want a formal grammar, I just think
this is a particularly poor way to try to present this information.

What it reads like to me like a bad one of those logic puzzles but with info
missing: The cookie was eaten by someone wearing a red coat.  Susan wears
a hat.  Who ate the cookie?

Kent

Date Sujet#  Auteur
28 Oct 24 * Arm ldaxr / stxr loop question136jseigh
31 Oct 24 +- Re: Arm ldaxr / stxr loop question1MitchAlsup1
31 Oct 24 +- Re: Arm ldaxr / stxr loop question1Chris M. Thomasson
1 Nov 24 +* Re: Arm ldaxr / stxr loop question124aph
2 Nov 24 i`* Re: Arm ldaxr / stxr loop question123Chris M. Thomasson
8 Nov 24 i `* Re: Arm ldaxr / stxr loop question122Chris M. Thomasson
8 Nov 24 i  `* Re: Arm ldaxr / stxr loop question121Chris M. Thomasson
9 Nov 24 i   +* Re: Arm ldaxr / stxr loop question118Chris M. Thomasson
9 Nov 24 i   i+- Re: Arm ldaxr / stxr loop question1Chris M. Thomasson
11 Nov 24 i   i+* Re: Arm ldaxr / stxr loop question5MitchAlsup1
11 Nov 24 i   ii+- Re: Arm ldaxr / stxr loop question1Michael S
11 Nov 24 i   ii`* Re: Arm ldaxr / stxr loop question3jseigh
11 Nov 24 i   ii `* Re: Arm ldaxr / stxr loop question2Chris M. Thomasson
12 Nov 24 i   ii  `- Re: Arm ldaxr / stxr loop question1Chris M. Thomasson
11 Nov 24 i   i+- Re: Arm ldaxr / stxr loop question1Michael S
11 Nov 24 i   i+- Re: Arm ldaxr / stxr loop question1Chris M. Thomasson
12 Nov 24 i   i+* Re: Arm ldaxr / stxr loop question23aph
12 Nov 24 i   ii+* Re: Arm ldaxr / stxr loop question18Chris M. Thomasson
13 Nov 24 i   iii`* Re: Arm ldaxr / stxr loop question17aph
13 Nov 24 i   iii +* Re: Arm ldaxr / stxr loop question3jseigh
13 Nov 24 i   iii i`* Re: Arm ldaxr / stxr loop question2aph
13 Nov 24 i   iii i `- Re: Arm ldaxr / stxr loop question1Chris M. Thomasson
13 Nov 24 i   iii +- Re: Arm ldaxr / stxr loop question1MitchAlsup1
13 Nov 24 i   iii +* Re: Arm ldaxr / stxr loop question2Chris M. Thomasson
13 Nov 24 i   iii i`- Re: Arm ldaxr / stxr loop question1Chris M. Thomasson
13 Nov 24 i   iii +* Re: Arm ldaxr / stxr loop question2Chris M. Thomasson
13 Nov 24 i   iii i`- Re: Arm ldaxr / stxr loop question1Chris M. Thomasson
13 Nov 24 i   iii `* Re: Arm ldaxr / stxr loop question8Terje Mathisen
13 Nov 24 i   iii  +* Brilliance (was: Arm ldaxr / stxr loop question)4Anton Ertl
13 Nov 24 i   iii  i+- Re: Brilliance1BGB
14 Nov 24 i   iii  i`* Re: Brilliance2Terje Mathisen
16 Nov 24 i   iii  i `- Re: Brilliance1Thomas Koenig
13 Nov 24 i   iii  `* Re: Arm ldaxr / stxr loop question3aph
14 Nov 24 i   iii   `* Re: Arm ldaxr / stxr loop question2Terje Mathisen
14 Nov 24 i   iii    `- Re: Arm ldaxr / stxr loop question1Chris M. Thomasson
12 Nov 24 i   ii`* Re: Arm ldaxr / stxr loop question4BGB
13 Nov 24 i   ii `* Re: Arm ldaxr / stxr loop question3Chris M. Thomasson
13 Nov 24 i   ii  `* Re: Arm ldaxr / stxr loop question2Robert Finch
26 Dec 24 i   ii   `- Re: Arm ldaxr / stxr loop question1Chris M. Thomasson
14 Nov 24 i   i`* Re: Arm ldaxr / stxr loop question86Kent Dickey
14 Nov 24 i   i `* Re: Arm ldaxr / stxr loop question85aph
14 Nov 24 i   i  +* Re: Arm ldaxr / stxr loop question81Chris M. Thomasson
15 Nov 24 i   i  i`* Re: Arm ldaxr / stxr loop question80aph
15 Nov 24 i   i  i +- Re: Arm ldaxr / stxr loop question1Chris M. Thomasson
15 Nov 24 i   i  i `* Memory ordering (was: Arm ldaxr / stxr loop question)78Anton Ertl
15 Nov 24 i   i  i  +* Re: Memory ordering44Chris M. Thomasson
15 Nov 24 i   i  i  i`* Re: Memory ordering43Michael S
15 Nov 24 i   i  i  i `* Re: Memory ordering42Chris M. Thomasson
16 Nov 24 i   i  i  i  `* Re: Memory ordering41Chris M. Thomasson
16 Nov 24 i   i  i  i   +- Re: Memory ordering1Chris M. Thomasson
17 Nov 24 i   i  i  i   `* Re: Memory ordering39jseigh
17 Nov 24 i   i  i  i    +* Re: Memory ordering33Anton Ertl
19 Nov 24 i   i  i  i    i`* Re: Memory ordering32Chris M. Thomasson
3 Dec 24 i   i  i  i    i `* Re: Memory ordering31Anton Ertl
3 Dec 24 i   i  i  i    i  `* Re: Memory ordering30jseigh
3 Dec 24 i   i  i  i    i   `* Re: Memory ordering29MitchAlsup1
4 Dec 24 i   i  i  i    i    +* Re: Memory ordering22Stefan Monnier
4 Dec 24 i   i  i  i    i    i+* Re: Memory ordering3MitchAlsup1
4 Dec 24 i   i  i  i    i    ii`* Re: Memory ordering2Stefan Monnier
4 Dec 24 i   i  i  i    i    ii `- Re: Memory ordering1MitchAlsup1
4 Dec 24 i   i  i  i    i    i`* Re: Memory ordering18jseigh
5 Dec 24 i   i  i  i    i    i `* Re: Memory ordering17Chris M. Thomasson
5 Dec 24 i   i  i  i    i    i  +* Re: Memory ordering8jseigh
16 Dec 24 i   i  i  i    i    i  i`* Re: Memory ordering7Chris M. Thomasson
17 Dec 24 i   i  i  i    i    i  i `* Re: Memory ordering6jseigh
17 Dec 24 i   i  i  i    i    i  i  +- Re: Memory ordering1aph
17 Dec 24 i   i  i  i    i    i  i  `* Re: Memory ordering4Chris M. Thomasson
17 Dec 24 i   i  i  i    i    i  i   +- Re: Memory ordering1MitchAlsup1
18 Dec 24 i   i  i  i    i    i  i   `* Re: Memory ordering2jseigh
19 Dec 24 i   i  i  i    i    i  i    `- Re: Memory ordering1Chris M. Thomasson
19 Dec 24 i   i  i  i    i    i  `* Re: Memory ordering8MitchAlsup1
19 Dec 24 i   i  i  i    i    i   `* Re: Memory ordering7Chris M. Thomasson
20 Dec 24 i   i  i  i    i    i    +* Re: Memory ordering5MitchAlsup1
20 Dec 24 i   i  i  i    i    i    i+* Re: Memory ordering2Chris M. Thomasson
20 Dec 24 i   i  i  i    i    i    ii`- Re: Memory ordering1Chris M. Thomasson
20 Dec 24 i   i  i  i    i    i    i`* Re: Memory ordering2Chris M. Thomasson
20 Dec 24 i   i  i  i    i    i    i `- Re: Memory ordering1Chris M. Thomasson
20 Dec 24 i   i  i  i    i    i    `- Re: Memory ordering1Chris M. Thomasson
4 Dec 24 i   i  i  i    i    +- Re: Memory ordering1Chris M. Thomasson
4 Dec 24 i   i  i  i    i    +- Re: Memory ordering1MitchAlsup1
5 Dec 24 i   i  i  i    i    `* Re: Memory ordering4Tim Rentsch
6 Dec 24 i   i  i  i    i     +* Re: Memory ordering2Terje Mathisen
6 Dec 24 i   i  i  i    i     i`- Re: Memory ordering1Tim Rentsch
20 Dec 24 i   i  i  i    i     `- Re: Memory ordering1Chris M. Thomasson
17 Nov 24 i   i  i  i    +* Re: Memory ordering2Chris M. Thomasson
19 Nov 24 i   i  i  i    i`- Re: Memory ordering1Chris M. Thomasson
18 Nov 24 i   i  i  i    +- Re: Memory ordering1aph
20 Nov 24 i   i  i  i    +- Re: Memory ordering1Chris M. Thomasson
20 Nov 24 i   i  i  i    `- Re: Memory ordering1Chris M. Thomasson
15 Nov 24 i   i  i  +* Re: Memory ordering (was: Arm ldaxr / stxr loop question)2Michael S
15 Nov 24 i   i  i  i`- Re: Memory ordering (was: Arm ldaxr / stxr loop question)1Anton Ertl
15 Nov 24 i   i  i  +* Re: Memory ordering28jseigh
15 Nov 24 i   i  i  i`* Re: Memory ordering27Anton Ertl
15 Nov 24 i   i  i  i +* Re: Memory ordering18Chris M. Thomasson
16 Nov 24 i   i  i  i i`* Re: Memory ordering17Anton Ertl
16 Nov 24 i   i  i  i i `* Re: Memory ordering16Chris M. Thomasson
17 Nov 24 i   i  i  i i  `* Re: Memory ordering15Anton Ertl
18 Nov 24 i   i  i  i i   `* Re: Memory ordering14Chris M. Thomasson
18 Nov 24 i   i  i  i i    `* Re: Memory ordering13Anton Ertl
19 Nov 24 i   i  i  i i     `* Re: Memory ordering12Chris M. Thomasson
19 Nov 24 i   i  i  i i      `* Re: Memory ordering11Chris M. Thomasson
15 Nov 24 i   i  i  i +* Re: Memory ordering7BGB
17 Nov 24 i   i  i  i `- Re: Memory ordering1Tim Rentsch
16 Nov 24 i   i  i  +- Re: Memory ordering (was: Arm ldaxr / stxr loop question)1Anton Ertl
16 Nov 24 i   i  i  +- Re: Memory ordering (was: Arm ldaxr / stxr loop question)1Lawrence D'Oliveiro
18 Nov 24 i   i  i  `- Re: Memory ordering1aph
21 Nov 24 i   i  `* Re: Arm ldaxr / stxr loop question3Kent Dickey
9 Nov 24 i   `* Re: Arm ldaxr / stxr loop question2jseigh
8 Nov 24 +* Re: Arm ldaxr / stxr loop question8Lawrence D'Oliveiro
20 Dec 24 `- Re: Arm ldaxr / stxr loop question1Chris M. Thomasson

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal