RFR: 8283626: AArch64: Set relocInfo::offset_unit to 4 [v2]
Evgeny Astigeevich
duke at openjdk.java.net
Mon Mar 28 13:44:18 UTC 2022
On Mon, 28 Mar 2022 13:16:34 GMT, Andrew Haley <aph at openjdk.org> wrote:
>> Evgeny Astigeevich has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Updated code comments
>
> src/hotspot/cpu/aarch64/relocInfo_aarch64.hpp line 33:
>
>> 31: enum {
>> 32: // AArch64 instructions size is 4 bytes.
>> 33: // Two lowest offset bits can always be discarded.
>
> Suggestion:
>
> // AArch64 instructions are always 4 bytes long and 4-aligned, so the
> // two lowest offset bits can always be discarded.
@theRealAph Thank you for reviewing and comments.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7991
More information about the hotspot-compiler-dev
mailing list