This repo contains CoreRT, an experimental .NET Core runtime optimized for AOT (ahead of time compilation) scenarios, with the accompanying compiler toolchain.
portable.cpp contains an implementation that just forwards to PalMemoryBarrier. It was disabeled for ARM64 only. As the forward works fine for ARM64 there is no reason to not use the same code for all CPUs
portable.cpp contains an implementation that just forwards to PalMemoryBarrier. It was disabeled for ARM64 only. As the forward works fine for ARM64 there is no reason to not use the same code for all CPUs