[aarch64-port-dev ] 8248238: Implementation of JEP: Windows AArch64 Support
beurba at microsoft.com
Wed Aug 26 15:04:24 UTC 2020
On 26/08/2020 15:05, Andrew Haley wrote:
> DMB ST is not a release barrier. It's only a StoreStore; release needs
> LoadStore|StoreStore. See the spec for DMB. But surely Microsoft C++
> knows how to emit a release barrier.
Apparently it doesn't know :-( _WriteBarrier is a nop what code generation is concerned, so it will emit a dmb ishst. How this doesn't cause any major issues is beyond my understanding. FWIW the Linux implementation does turn into dmb ish with GCC 9.
I'll look into it, but this will need some more testing.
More information about the aarch64-port-dev