RFR: 8316645: RISC-V: Remove dependency on libatomic by adding cmpxchg 1b

Robbin Ehn rehn at openjdk.org
Wed Sep 27 10:39:14 UTC 2023


On Wed, 27 Sep 2023 09:02:23 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> Ok, so let me see if I get this right. With gcc >= 13.2, we will use a gcc intrinsic. But this patch will work for older gcc versions as well, but then it uses assembly code?

Yes!

-------------

PR Comment: https://git.openjdk.org/jdk/pull/15919#issuecomment-1737141271


More information about the build-dev mailing list