RFR: 8307495: Specialize atomic bitset functions for aix-ppc [v6]

Martin Doerr mdoerr at openjdk.org
Fri Oct 10 09:47:26 UTC 2025


On Fri, 10 Oct 2025 09:25:16 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

>> It means base register (R0 not allowed). See PowerPC section in https://gcc.gnu.org/onlinedocs/gcc/Machine-Constraints.html
>
> Ah, so we should use "b" consistently for memory addresses.

To be more precise: In this case (lwarx, stwcx, ...), the operand we are using supports R0. So "r" is also fine. But some other functions use lwz, ... which can't use R0.
So, those with "simple guard" need to use "b", the other ones can also use "r".

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27650#discussion_r2419115953


More information about the hotspot-dev mailing list