Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fetch Instruction/Category clarification (#1824)
* Enhance FENCE table * Caps FENCE * Tweak description of FENCE The description of the "FENCE" instructions under "Memory Ordering Instructions" (section 2.7) has some inconsistencies which are magnified by the coexistence of "FENCE" as a set of instructions depending on the value of the _fm_ field, and a specific instruction that uses the `FENCE` mnemonic when _fm_=0b0000. Try to improve the documentation in this section with the following changes: - I avoid "the FENCE instruction" in favor of "FENCE instructions" or "a FENCE instruction" (just all caps here, too). - I capitalized "fence" when it was clearly referring to "FENCE instructions". - I used `FENCE` when the referring to the `FENCE` instruction (with _fm_=0000). - I put "with _fm_=0000" in paretheses when it was already associated with the `FENCE` instruction (with _fm_=0000) to convey that this was just to add some clarity (not specialization) for something that should already be fairly clear. (Although using text attributes for clarity is not terribly accessible, perhaps?) - I changed uses of `FENCE` to FENCE when it was referring to the class. - I put all references to `FENCE.TSO` in backticks, since this is referring to a specific instruction (not the class). - I put all references like `FENCE RW,RW` in backticks, since this is referring to a specific instruction. - In this text: > many _fm_ and predecessor/successor set settings in <<fm>> are also reserved for future use. I removed "in <<fm>>" because I couldn't make sense of that sentence otherwise. - I replaced "normal fences" with "`FENCE` instructions (with _fm_=0000)", since it's really a reference to a specific instruction. --------- Co-authored-by: Paul A. Clarke <[email protected]>
- Loading branch information