|
|
|
|
|
by brooksbp
1294 days ago
|
|
> but that only makes memory-fences (load-acquire, store-release) even more important. I would say that the importance is in the correctness of the algorithm that implements the shared memory synchronization. Lowering the algorithm/code to architecture instructions that enforce memory ordering is trivial at that point. So what if it means a fence instruction isn't needed on x86 but it is on arm64 at some particular point in the code. |
|