[aarch64-port-dev ] RFR(M): 8233743: AArch64: Make r27 conditionally allocatable

Andrew Haley aph at redhat.com
Thu Nov 21 14:04:07 UTC 2019


On 11/19/19 10:03 AM, Pengfei Li (Arm Technology China) wrote:
>> We should have a flag which is set if the search for nicely-aligned 
>> memory is successful, and then you can use that flag to determine if r27 is needed.
> In which file do you think we should add the flag? Can we just check the value of CompressedKlassPointers::base() in reg_mask_init() ?

I would call from the #ifdef AARCH64 code that allocates the memory into
a static method Assembler::setCompressedBaseAndScale().

-- 
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 hotspot-compiler-dev mailing list