RFR: 8316186: RISC-V: Remove PlatformCmpxchg<4>

Robbin Ehn rehn at openjdk.org
Tue Sep 26 11:37:11 UTC 2023


On Wed, 13 Sep 2023 12:25:41 GMT, Robbin Ehn <rehn at openjdk.org> wrote:

> Hi, please consider.
> 
> I don't know the history behind the Cmpxhg<4>, but it is not needed anymore.
> Using compiler as in 8 byte case is just fine.
> 
> Passes hotspot-tier (qemu, vf2 still running), some manual extra testing via gtest, looked at compiler: output, e.g. https://godbolt.org/z/a31Gdqn8q
> 
> If you know the history please share, and if you have a reason why we should keep it please speak up!

Fix for the bug here:
https://github.com/openjdk/jdk/pull/15917

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

PR Comment: https://git.openjdk.org/jdk/pull/15715#issuecomment-1735355377


More information about the hotspot-runtime-dev mailing list