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 Like with acquire fences, release fences can be used to optimize over a series
series of atomic stores that dont individually need to be `Release`, since its of atomic stores that dont individually need to be `Release`, since in some
often faster to put a single release fence at the start and use `Relaxed` from conditions and on some architectures its faster to put a single release fence
that point on than it is to use `Release` every time. at the start and use `Relaxed` from that point on than it is to use `Release`
every time.
## `AcqRel` fences ## `AcqRel` fences

Loading…
Cancel
Save