[aarch64-port-dev ] Aarch64 port for ZGC, so far
Andrew Haley
aph at redhat.com
Fri Nov 30 10:23:27 UTC 2018
On 11/30/18 10:15 AM, Andrew Haley wrote:
> On 11/30/18 1:53 AM, White, Derek wrote:
>> cpu/aarch64/assembler_aarch64.cpp:
>> cpu/aarch64/c1_LIRAssembler_aarch64.cpp:
>> - Address::lea() & LIR_Assembler::leal():
>
> I don't think this is necessary. The address of ZAddressBadMask is a
> constant once the program is loaded so don't really need a reloc at
> all.
The current code for leal() looks like this:
void LIR_Assembler::leal(LIR_Opr addr, LIR_Opr dest) {
__ lea(dest->as_register_lo(), as_Address(addr->as_address_ptr()));
}
There's something very wrong with this patch. It's not needed
anywhere else, so it shouldn't be needed for ZGC.
--
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
More information about the aarch64-port-dev
mailing list