RFR: 8350896: Integer/Long.compress gets wrong type from CompressBitsNode::Value
Emanuel Peter
epeter at openjdk.org
Wed Mar 12 08:45:58 UTC 2025
On Wed, 12 Mar 2025 08:09:24 GMT, Emanuel Peter <epeter at openjdk.org> wrote:
>> Can you also say what the meaning of `mask_max_bw` is? Possibly a more expressive name would help here too.
>
> If I'm right here, you want to say how many many of the low significance bits are unknown, and that the rest, the high significance bits are all zero, right?
You could say that we are trying to find case where we know that the compression result will have at least a certain number of leading zeros, which allows us to restrict the type.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23947#discussion_r1990925747
More information about the hotspot-compiler-dev
mailing list