Paolo Bonzini 803cf26a9e atomic: base mb_read/mb_set on load-acquire and store-release
This introduces load-acquire and store-release operations in QEMU.
For now, just use them as an implementation detail of atomic_mb_read
and atomic_mb_set.

Since docs/atomics.txt documents that atomic_mb_read only synchronizes
with an atomic_mb_set of the same variable, we can use the new implementation
everywhere instead of seq-cst loads and stores.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-10-24 15:27:15 +02:00
..
2016-07-04 13:15:22 +01:00
2016-02-23 12:43:05 +00:00
2016-09-13 19:13:32 +02:00
2016-06-07 18:19:23 +03:00
2016-02-23 12:43:05 +00:00
2016-02-23 12:43:05 +00:00
2016-06-16 18:39:03 +02:00
2016-06-07 18:19:24 +03:00
2014-03-13 14:42:21 +01:00
2016-08-02 12:03:58 +02:00
2016-02-23 12:43:05 +00:00
2016-02-23 12:43:05 +00:00
2016-09-15 10:24:22 +01:00
2016-09-15 15:32:22 +03:00
2016-09-23 11:42:52 +08:00
2016-02-23 12:43:05 +00:00