|
|
|
|
|
by pmuderoc
1694 days ago
|
|
They better do, but then, how would an automatic translator know that this is a "release semantics" atomic store operation? Because on x86 it is, no special barriers or instructions necessary. mov [shared_data], 1 mov [release_flag], 1 |
|
(on ARMv8.0 where you don’t have those, barriers are used more)
TSO pessimization is the only way to make the thing work at a translation time cost that isn’t too high.