On Thu, 19 May 2022 08:43:55 GMT, Nick Gasson <ngas...@openjdk.org> wrote:
> What's the advantage of defining the new hardlse VM feature over using the > existing `__ARM_FEATURE_ATOMICS` preprocessor symbol? Both GCC and Clang will > define that with an appropriate `-march` value, which you're passing to > configure anyway. You could then conditionally emit the LSE instructions in > atomic_linux_aarch64.S based on that. That's not a bad idea either. In fact, maybe I prefer it to my own suggestion. ------------- PR: https://git.openjdk.java.net/jdk/pull/8779