Note that a release fence followed by multiple stores is not necessarily faster than many release stores

pull/378/head
SabrinaJewson 2 years ago
parent 2384caab54
commit d9dabf4653
No known key found for this signature in database
GPG Key ID: 3D5438FFA5F05564

@ -170,10 +170,11 @@ The execution with the relation looks like this:
╰───────╯ └───┴──┘╰───────╯
```
Like with acquire fences, release fences are commonly used to optimize over a
series of atomic stores that dont individually need to be `Release`, since its
often faster to put a single release fence at the start and use `Relaxed` from
that point on than it is to use `Release` every time.
Like with acquire fences, release fences can be used to optimize over a series
of atomic stores that dont individually need to be `Release`, since in some
conditions and on some architectures its faster to put a single release fence
at the start and use `Relaxed` from that point on than it is to use `Release`
every time.
## `AcqRel` fences

Loading…
Cancel
Save