RFR: 8347405: MergeStores with reverse bytes order value [v3]
kuaiwei
duke at openjdk.org
Mon Jan 13 13:10:40 UTC 2025
On Fri, 10 Jan 2025 11:18:50 GMT, Emanuel Peter <epeter at openjdk.org> wrote:
> This looks very promising, thanks for working on this! Makes me very happy that people are extending it 😊
>
> I have a few comments and suggestions below.
>
> Can you please link the JBS issue to the other relevant RFE's for MergeStores?
>
> Is there no way to reverse shorts and ints?
I related the JBS issue to https://bugs.openjdk.org/browse/JDK-8318446 C2: optimize stores into primitive arrays by combining values into larger store .
I think reverse shorts and ints can be done as well. But I think they are not as common as reverse byte order. And we need add shift and mask instructions, we can gain less performance improvement.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23030#issuecomment-2587060751
More information about the hotspot-compiler-dev
mailing list