RFR: 8331126: [s390x] secondary_super_cache does not scale well [v6]

Martin Doerr mdoerr at openjdk.org
Thu Jun 27 20:25:19 UTC 2024


On Thu, 27 Jun 2024 18:04:24 GMT, Amit Kumar <amitkumar at openjdk.org> wrote:

>> There are several ways to clear the least significant bit. E.g. `and` it with ~1 and compare the result with 0. Or shift right by 1 and compare the result with 0.
>
> But if we clobber this then verification will fail. Because in this method we are dependent on value present in `r_result`.  It's just that I'm making sure that whatever value is there it's either `1` or `0`.

There are instructions which don't kill the src operand. E.g. ngrk or slrg.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/19544#discussion_r1657775357


More information about the hotspot-dev mailing list