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

Robbin Ehn rehn at openjdk.org
Fri Sep 29 12:59:42 UTC 2023


On Fri, 29 Sep 2023 03:38:48 GMT, Fei Yang <fyang 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.
>
> That looks great. Thanks.

Thanks @RealFYang @luhenry !

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

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


More information about the build-dev mailing list