Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8273939: Backport of 8248414 to JDK11 breaks MacroAssembler::adrp
Reviewed-by: mdoerr
  • Loading branch information
Vladimir Kempik committed Sep 18, 2021
1 parent 63fc945 commit f336c72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp
Expand Up @@ -4242,6 +4242,7 @@ void MacroAssembler::adrp(Register reg1, const Address &dest, uint64_t &byte_off
uint64_t adrp_target
= (target & 0xffffffffULL) | ((uint64_t)pc() & 0xffff00000000ULL);

_adrp(reg1, (address)adrp_target);
movk(reg1, target >> 32, 32);
}
byte_offset = (uint64_t)dest.target() & 0xfff;
Expand Down

1 comment on commit f336c72

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.