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-10-04 10:00:25 +02:00
2015-11-17 18:35:56 +08:00
2014-06-10 07:44:01 +02:00
2011-07-08 11:25:56 +02:00
2016-05-26 11:12:05 -06:00
2016-03-11 16:59:12 +02:00
2016-09-13 19:08:47 +02:00
2016-09-05 13:47:01 -04:00
2013-04-03 11:39:43 +02:00
2016-10-13 17:23:53 +02:00