Skip to content

Commit

Permalink
Zam -> MAG
Browse files Browse the repository at this point in the history
Zam is no longer a thing, but the concept lives on in the form of the
misaligned atomicity granule PMA.
  • Loading branch information
aswaterman committed Oct 2, 2024
1 parent 118e594 commit da2d29b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapter2.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ This load must have the ordering annotation _aq_, and may have ordering annotati
The address held in _rs1_ should be naturally aligned to the size of the operand.
If the address is not naturally aligned, an address-misaligned exception or an access-fault exception will be generated.
The access-fault exception can be generated for a memory access that would otherwise be able to complete except for the misalignment, if the misaligned access should not be emulated.
If the Zam standard extension is implemented, the address is not required to be aligned and the weaker atomicity guarantee provided by Zam applies.
The versions without the _aq_ bit set are RESERVED.
RV32 shall not implement the d and q variants and RV64 shall not implement the q variant.

Expand Down Expand Up @@ -158,6 +157,7 @@ This instruction stores size bytes of memory from rs1 atomically.
This store must have ordering annotation _rl_, and may have ordering annotation _aq_ encoded in the instruction: if the bit _aq_ is set, the instruction has an "acquire-RCsc" annotation, and if the bit _rl_ is set, the instruction has a "release-RCsc" annotation.
The address held in _rs1_ should be naturally aligned to the size of the operand.
If the address is not naturally aligned, an address-misaligned exception or an access-fault exception will be generated.
The misaligned atomicity granule PMA applies to the instructions in this extension.
The access-fault exception can be generated for a memory access that would otherwise be able to complete except for the misalignment, if the misaligned access should not be emulated.
If the Zam standard extension is implemented, the address is not required to be aligned and the weaker atomicity guarantee provided by Zam applies.
The versions without the _rl_ bit set are RESERVED.
Expand Down

0 comments on commit da2d29b

Please sign in to comment.