On Thu, 16 Jul 2026 09:17:32 GMT, Andrew Haley <[email protected]> wrote:

>> src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.cpp line 1456:
>> 
>>> 1454:         = __ form_address(rscratch2, mdo,
>>> 1455:                           md->byte_offset_of_slot(data, 
>>> DataLayout::flags_offset()),
>>> 1456:                           LogBytesPerWord);
>> 
>> Why `LogBytesPerWord`, and not `0` as in original?
>
> It generates smaller code for large offsets, but only if all memory accesses 
> using this `Address` are word-aligned..

Ah, all right. I keep being confused by this `form_address` API.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28541#discussion_r3594411787

Reply via email to