RFR: 8316186: RISC-V: Remove PlatformCmpxchg<4>
Fei Yang
fyang at openjdk.org
Tue Sep 19 05:48:38 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!
PS: I can reproduce the test failure with GCC version 10 and 11. But it does not trigger with GCC 12.
Note that I am using openjdk release build. It won't trigger if I use openjdk slowdebug build built with GCC 11.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15715#issuecomment-1724864694
More information about the hotspot-runtime-dev
mailing list