rfc: 0015 scalar atomics and the Aji memory model accepted (revision 2) and integrated into the spec
The Aji RC11 profile (RC11 with NO-THIN-AIR; stronger than ISO C11/C++20) as normative axioms in spec 04 §20; DRF-SC; linear atomic<T> for AtomicScalar with atomic.new/atomic.take; ref<atomic<T>> operands; ordering tables incl. cmpxchg failure table and two results; effects [atomic] / [atomic, atomic.weak]; target atomic_widths and E4203; E4202; enumerator as oracle (observed ⊆ allowed, exact equality on the normative litmus corpus). Feature atomics stays reserved until P5-2a. Q-015 resolved; record/replay and Q-017 moved to Phase 8. RFC 0003 superseded. AIR bundle +1.9 %.
This commit is contained in:
1 parent
702d69b2c1
commit
2bbbd2135c
24 files changed
+927
-142
No files matched your search
@@ -32,7 +32,7 @@ Declaring `features [capabilities, effects, ownership]` grants no authority. It
|
||||
|---|---|---|---|---|
|
||||
| `arc` | published | 4 | `capabilities`, `effects`, `heap`, `islands`, `ownership`, `resources` | `arc<T>`, `arc.*`, `ArcSafe` (spec 03 §24) |
|
||||
| `arrays` | published | 1 | `ownership` | `array<T, N>`, `slice<T>`, `slice_mut<T>`, `array.splat`, `borrow.index[.proven]`, `slice.*`, `guard`, bounds facts (spec 07a, spec 08 §12) |
|
||||
| `atomics` | reserved | 5 | `ownership` | atomic types, the five orderings, fences, `atomic.*` instructions |
|
||||
| `atomics` | reserved | 5 | `effects`, `ownership` | linear `atomic<T>` for AtomicScalar `T`, `atomic.new`, `atomic.take`, `atomic.load`/`store`/RMW/`cmpxchg`/`fence` with explicit orderings, effects `atomic`/`atomic.weak`, `E4201`, `E4202` (spec 04 §20–§30, §42); specified by RFC 0015, published with its implementation (P5-2a) |
|
||||
| `borrow_joins` | reserved | — | `ownership` | borrow-typed block parameters (spec 08 §11.6); unscheduled |
|
||||
| `cancellation` | published | 3 | `effects`, `ownership`, `tasks` | effect `task.wait` (required by suspending operations, `task.join` included), waiting-operation rule, `shield`, `task.shield.*`, `task.check_cancel`, `task.join.cancel` (spec 04 §37) |
|
||||
| `capabilities` | published | 2 | `effects`, `ownership` | `cap<K>`, built-in `cap_error`, `cap.narrow`, `intrinsic`, instantiation of `@main` (spec 05 §10–§12) |
|
||||
|
||||
Reference in new issue
Block a user