[aarch64-port-dev ] 8248238: Implementation of JEP: Windows AArch64 Support
Bernhard Urban-Forster
beurba at microsoft.com
Wed Aug 26 12:05:27 UTC 2020
On 25/08/2020 13:51, Andrew Haley wrote:
> Can you argue why this is correct?
>
> +inline void OrderAccess::release() {
> + _WriteBarrier();
> + __dmb(_ARM64_BARRIER_ISHST);
> +}
Not exactly sure what your questions is. _WriteBarrier() is the compiler barrier [1] while __dmb() is the intrinsic [2] for said ARM64 instruction (note, it's not the macro assembler one).
-Bernhard
[1] https://docs.microsoft.com/en-us/cpp/intrinsics/writebarrier?view=vs-2019
[2] https://docs.microsoft.com/en-us/cpp/intrinsics/arm64-intrinsics?view=vs-2019
More information about the aarch64-port-dev
mailing list