Skip to content

Commit f336c72

Browse files
author
Vladimir Kempik
committed
8273939: Backport of 8248414 to JDK11 breaks MacroAssembler::adrp
Reviewed-by: mdoerr
1 parent 63fc945 commit f336c72

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -4242,6 +4242,7 @@ void MacroAssembler::adrp(Register reg1, const Address &dest, uint64_t &byte_off
42424242
uint64_t adrp_target
42434243
= (target & 0xffffffffULL) | ((uint64_t)pc() & 0xffff00000000ULL);
42444244

4245+
_adrp(reg1, (address)adrp_target);
42454246
movk(reg1, target >> 32, 32);
42464247
}
42474248
byte_offset = (uint64_t)dest.target() & 0xfff;

0 commit comments

Comments
 (0)