[aarch64-port-dev ] RFD: scratch registers cleanup [Long post]

Andrew Haley aph at redhat.com
Thu Oct 31 12:43:26 UTC 2019


On 10/31/19 10:58 AM, Andrew Dinn wrote:
> On 30/10/2019 18:58, Andrew Haley wrote:
>> [TL, DR: A large patch to clean up the use of scratch registers in the
>> AArch64 port. Anyone who has ever written assembly code for the
>> AArch64 port should probably read this.]
>> . . .
>> Comments gratefully received.
>
> I'm looking at this. It's a very nice idea and will take some time to
> give it the review it deserves.

OK. bear in mind that it's still a bit scrappy, but I'm releasing it early
to give you that time.

BTW, I wrote an earlier version of this patch which allocated the registers
automagically rather than the requiring the programmer to name them, but it
turned into such a mess that I gave up. IMO it's better to do this more
gradually, with this first patch making essentially no changes.

-- 
Andrew Haley  (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671



More information about the aarch64-port-dev mailing list