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

Richard Reingruber rrich at openjdk.org
Fri Oct 10 09:54:26 UTC 2025


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

>> 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".
>
> Always using "b" should do no harm and avoid copy&paste bugs in the future. So that's probably better?
> (We could also usr "cr0" in clobber list, but "cc" should be good enough, too.)

Yes. I'd say so.

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

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


More information about the hotspot-dev mailing list