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 23, 2025
1 parent df9818e commit 29159a2
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 @@ -230,8 +230,6 @@ 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 @@ -452,8 +450,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 @@ -468,7 +464,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 29159a2

Please sign in to comment.