RFR: 8282322: AArch64: Provide a means to eliminate all STREX family of instructions
Andrew Haley
aph at openjdk.java.net
Thu May 19 08:54:59 UTC 2022
On Thu, 19 May 2022 08:43:55 GMT, Nick Gasson <ngasson at 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
More information about the build-dev
mailing list