@@ -389,7 +389,7 @@ void MacroAssembler::far_call(Address entry, CodeBuffer *cbuf, Register tmp) {
389
389
assert (CodeCache::find_blob (entry.target ()) != NULL ,
390
390
" destination of far call not found in code cache" );
391
391
if (far_branches ()) {
392
- uintptr_t offset;
392
+ uint64_t offset;
393
393
// We can use ADRP here because we know that the total size of
394
394
// the code cache cannot exceed 2Gb.
395
395
adrp (tmp, entry, offset);
@@ -407,7 +407,7 @@ void MacroAssembler::far_jump(Address entry, CodeBuffer *cbuf, Register tmp) {
407
407
assert (CodeCache::find_blob (entry.target ()) != NULL ,
408
408
" destination of far call not found in code cache" );
409
409
if (far_branches ()) {
410
- uintptr_t offset;
410
+ uint64_t offset;
411
411
// We can use ADRP here because we know that the total size of
412
412
// the code cache cannot exceed 2Gb.
413
413
adrp (tmp, entry, offset);
@@ -1499,7 +1499,7 @@ void MacroAssembler::movptr(Register r, uintptr_t imm64) {
1499
1499
#ifndef PRODUCT
1500
1500
{
1501
1501
char buffer[64 ];
1502
- snprintf (buffer, sizeof (buffer), " 0x%" PRIX64, imm64);
1502
+ snprintf (buffer, sizeof (buffer), " 0x%" PRIX64, ( uint64_t ) imm64);
1503
1503
block_comment (buffer);
1504
1504
}
1505
1505
#endif
@@ -2579,43 +2579,43 @@ void MacroAssembler::debug64(char* msg, int64_t pc, int64_t regs[])
2579
2579
#endif
2580
2580
if (os::message_box (msg, " Execution stopped, print registers?" )) {
2581
2581
ttyLocker ttyl;
2582
- tty->print_cr (" pc = 0x%016lx " , pc);
2582
+ tty->print_cr (" pc = 0x%016 " PRIx64 , pc);
2583
2583
#ifndef PRODUCT
2584
2584
tty->cr ();
2585
2585
findpc (pc);
2586
2586
tty->cr ();
2587
2587
#endif
2588
- tty->print_cr (" r0 = 0x%016lx " , regs[0 ]);
2589
- tty->print_cr (" r1 = 0x%016lx " , regs[1 ]);
2590
- tty->print_cr (" r2 = 0x%016lx " , regs[2 ]);
2591
- tty->print_cr (" r3 = 0x%016lx " , regs[3 ]);
2592
- tty->print_cr (" r4 = 0x%016lx " , regs[4 ]);
2593
- tty->print_cr (" r5 = 0x%016lx " , regs[5 ]);
2594
- tty->print_cr (" r6 = 0x%016lx " , regs[6 ]);
2595
- tty->print_cr (" r7 = 0x%016lx " , regs[7 ]);
2596
- tty->print_cr (" r8 = 0x%016lx " , regs[8 ]);
2597
- tty->print_cr (" r9 = 0x%016lx " , regs[9 ]);
2598
- tty->print_cr (" r10 = 0x%016lx " , regs[10 ]);
2599
- tty->print_cr (" r11 = 0x%016lx " , regs[11 ]);
2600
- tty->print_cr (" r12 = 0x%016lx " , regs[12 ]);
2601
- tty->print_cr (" r13 = 0x%016lx " , regs[13 ]);
2602
- tty->print_cr (" r14 = 0x%016lx " , regs[14 ]);
2603
- tty->print_cr (" r15 = 0x%016lx " , regs[15 ]);
2604
- tty->print_cr (" r16 = 0x%016lx " , regs[16 ]);
2605
- tty->print_cr (" r17 = 0x%016lx " , regs[17 ]);
2606
- tty->print_cr (" r18 = 0x%016lx " , regs[18 ]);
2607
- tty->print_cr (" r19 = 0x%016lx " , regs[19 ]);
2608
- tty->print_cr (" r20 = 0x%016lx " , regs[20 ]);
2609
- tty->print_cr (" r21 = 0x%016lx " , regs[21 ]);
2610
- tty->print_cr (" r22 = 0x%016lx " , regs[22 ]);
2611
- tty->print_cr (" r23 = 0x%016lx " , regs[23 ]);
2612
- tty->print_cr (" r24 = 0x%016lx " , regs[24 ]);
2613
- tty->print_cr (" r25 = 0x%016lx " , regs[25 ]);
2614
- tty->print_cr (" r26 = 0x%016lx " , regs[26 ]);
2615
- tty->print_cr (" r27 = 0x%016lx " , regs[27 ]);
2616
- tty->print_cr (" r28 = 0x%016lx " , regs[28 ]);
2617
- tty->print_cr (" r30 = 0x%016lx " , regs[30 ]);
2618
- tty->print_cr (" r31 = 0x%016lx " , regs[31 ]);
2588
+ tty->print_cr (" r0 = 0x%016 " PRIx64 , regs[0 ]);
2589
+ tty->print_cr (" r1 = 0x%016 " PRIx64 , regs[1 ]);
2590
+ tty->print_cr (" r2 = 0x%016 " PRIx64 , regs[2 ]);
2591
+ tty->print_cr (" r3 = 0x%016 " PRIx64 , regs[3 ]);
2592
+ tty->print_cr (" r4 = 0x%016 " PRIx64 , regs[4 ]);
2593
+ tty->print_cr (" r5 = 0x%016 " PRIx64 , regs[5 ]);
2594
+ tty->print_cr (" r6 = 0x%016 " PRIx64 , regs[6 ]);
2595
+ tty->print_cr (" r7 = 0x%016 " PRIx64 , regs[7 ]);
2596
+ tty->print_cr (" r8 = 0x%016 " PRIx64 , regs[8 ]);
2597
+ tty->print_cr (" r9 = 0x%016 " PRIx64 , regs[9 ]);
2598
+ tty->print_cr (" r10 = 0x%016 " PRIx64 , regs[10 ]);
2599
+ tty->print_cr (" r11 = 0x%016 " PRIx64 , regs[11 ]);
2600
+ tty->print_cr (" r12 = 0x%016 " PRIx64 , regs[12 ]);
2601
+ tty->print_cr (" r13 = 0x%016 " PRIx64 , regs[13 ]);
2602
+ tty->print_cr (" r14 = 0x%016 " PRIx64 , regs[14 ]);
2603
+ tty->print_cr (" r15 = 0x%016 " PRIx64 , regs[15 ]);
2604
+ tty->print_cr (" r16 = 0x%016 " PRIx64 , regs[16 ]);
2605
+ tty->print_cr (" r17 = 0x%016 " PRIx64 , regs[17 ]);
2606
+ tty->print_cr (" r18 = 0x%016 " PRIx64 , regs[18 ]);
2607
+ tty->print_cr (" r19 = 0x%016 " PRIx64 , regs[19 ]);
2608
+ tty->print_cr (" r20 = 0x%016 " PRIx64 , regs[20 ]);
2609
+ tty->print_cr (" r21 = 0x%016 " PRIx64 , regs[21 ]);
2610
+ tty->print_cr (" r22 = 0x%016 " PRIx64 , regs[22 ]);
2611
+ tty->print_cr (" r23 = 0x%016 " PRIx64 , regs[23 ]);
2612
+ tty->print_cr (" r24 = 0x%016 " PRIx64 , regs[24 ]);
2613
+ tty->print_cr (" r25 = 0x%016 " PRIx64 , regs[25 ]);
2614
+ tty->print_cr (" r26 = 0x%016 " PRIx64 , regs[26 ]);
2615
+ tty->print_cr (" r27 = 0x%016 " PRIx64 , regs[27 ]);
2616
+ tty->print_cr (" r28 = 0x%016 " PRIx64 , regs[28 ]);
2617
+ tty->print_cr (" r30 = 0x%016 " PRIx64 , regs[30 ]);
2618
+ tty->print_cr (" r31 = 0x%016 " PRIx64 , regs[31 ]);
2619
2619
BREAKPOINT;
2620
2620
}
2621
2621
}
0 commit comments