Skip to content

Commit

Permalink
a-st-ext: remove manual page breaks
Browse files Browse the repository at this point in the history
We should improve the tooling instead of adding manual page breaks.

Also replace "above" with a reference, because "above" is not correct
anymore and most importantly, it's not acceptable for a spec.

This does not imply any acceptability of the the rest of the sentence,
I just didn't want to leave the spec in a worse shape.

Signed-off-by: Radim Krčmář <[email protected]>
  • Loading branch information
radimkrcmar committed Jan 24, 2025
1 parent 0f21952 commit eccfc4f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/a-st-ext.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,6 @@ instruction unless the _rl_ bit is also set. LR._rl_ and SC._aq_
instructions are not guaranteed to provide any stronger ordering than
those with both bits clear, but may result in lower performance.

<<<

[NOTE]
====
[[cas]]
Expand Down Expand Up @@ -446,8 +444,6 @@ order the lock acquisition before the critical section, and the second
AMO is marked _rl_ to order the critical section before the lock
relinquishment.
<<<
[[critical]]
[source,asm]
.Sample code for mutual exclusion. `a0` contains the address of the lock.
Expand All @@ -462,7 +458,7 @@ relinquishment.
# ...
amoswap.w.rl x0, x0, (a0) # Release lock by storing 0.
We recommend the use of the AMO Swap idiom shown above for both lock
We recommend the use of the AMO Swap idiom shown in <<critical>> for both lock
acquire and release to simplify the implementation of speculative lock
elision. cite:[Rajwar:2001:SLE]
====
Expand Down

0 comments on commit eccfc4f

Please sign in to comment.