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

Hamlin Li mli at openjdk.org
Fri Sep 29 16:37:53 UTC 2023


On Tue, 26 Sep 2023 12:04:49 GMT, Robbin Ehn <rehn at openjdk.org> wrote:

> Hi all, please consider.
> 
> latomic is used for non native atomic operation which causes problems with extra dependency.
> This have been fixed in recent gcc, so latomic is no longer needed.
> 
> Added new gtest, passes t1 on vf2/qemu.

Nice!

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

Marked as reviewed by mli (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/15919#pullrequestreview-1651128531


More information about the build-dev mailing list