Skip to content
Permalink
Browse files
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 f336c729e35b6793d0910beec167b2c739ec95e7
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp
@@ -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;

1 comment on commit f336c72

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on f336c72 Sep 18, 2021

Please sign in to comment.