On Tue, 25 Aug 2026 09:02:28 GMT, Andrew Dinn <[email protected]> wrote:

> > Perhaps we can address this in another bug? I'm starting to get a little 
> > nervous of the unrelated changes to the double-Keccak GPR feature.
> 
> I think changing the mentions of `r30` to `lr` ought to be fairly 
> uncontentious.

Yes. Please do so.

> Perhaps a restructuring of the code might help but I cannot see any obvious 
> way of avoiding aliasing that results in simpler, clearer code.

There's a couple of things that can be done, but perhaps not today.

We can poison aliases when they are being used for some other reason, simply by 
saying `a6 = noreg;`. Readable code is better than a comment.

Better, we can _get rid of hand-allocated registers altogether_ by using 
`RegSet`s to to collect live registers.

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

PR Comment: https://git.openjdk.org/jdk/pull/32049#issuecomment-5570381667

Reply via email to