3 ms·
a lot of code (especially old code bases) does not actually target the c11 memory model but just happens to work on x86. A lot of code that targets the c11 memo
by gpderetta 6y ago
a lot of code (especially old code bases) does not actually target the c11 memory model but just happens to work on x86. A lot of code that targets the c11 memory model but primarily targetting x86, still assumes cheap (or free) release/acquire memory barriers (although admittedly arm64 should have reasonably cheap release/acquire and Apple could make them as cheap as they want).