Skip to content

Commit

Permalink
feat(xlang-spec): Add `[expr.nontemporal]
Browse files Browse the repository at this point in the history
  • Loading branch information
chorman0773 committed Aug 10, 2023
1 parent 763b214 commit 8df3475
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/xlang/exprs/access-class.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,17 @@

15. [Note: As long as the above rules are maintained, relaxed atomic loads may be reordered freely, and merged into adjacent relaxed loads.]

## Non-temporal
## Non-temporal [expr.nontemporal]

`class-option := nontemporal`

1. An access class may contain the `nontemporal` specifier.

2. An access may not specify both the `nontemporal` access class and an atomic access class.

3. [Note: Fences and sequence instructions may specify both simultaneously]

4. `nontemporal` accesses do not guarantee visibility order with respect to accesses to other memory locations.

5. [Note: Nontemporal accesses are intended to hint to the processor that the program is unlikely to use the data loaded/stored in the future]

0 comments on commit 8df3475

Please sign in to comment.