RFR: 8370579: PPC: fix inswri immediate argument order
Matthias Baesken
mbaesken at openjdk.org
Tue Oct 28 08:34:01 UTC 2025
On Fri, 24 Oct 2025 15:19:06 GMT, Manuel Hässig <mhaessig at openjdk.org> wrote:
> This cleanup PR swaps and renames the immediate arguments of the two `insrwi` instruction macros in `ppc.ad` such that they correspond to the order and names in the manual. This involved swapping the arguments in all six usages. I hope this saves the next person trying to reason about this some confused hours.
>
> Testing:
> - [x] Github Actions
> - [x] Running some relevant tests (`compiler/c2/TestCharShortByteSwap.java`, `jdk/java/lang/Short/ByteSwap.java`, `jdk/java/lang/Integer/BitTwiddle.java`, `compiler/codegen/Test6431242.java`) in qemu
Marked as reviewed by mbaesken (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/27978#pullrequestreview-3387323680
More information about the hotspot-compiler-dev
mailing list