Revision 26a76461 target-sparc/op_helper.c

b/target-sparc/op_helper.c
446 446
	    // invalid in normal mode
447 447
	    if (oldreg != env->lsu) {
448 448
#ifdef DEBUG_MMU
449
                printf("LSU change: 0x%llx -> 0x%llx\n", oldreg, env->lsu);
449
                printf("LSU change: 0x%" PRIx64 " -> 0x%" PRIx64 "\n", oldreg, env->lsu);
450 450
		dump_mmu(env);
451 451
#endif
452 452
		tlb_flush(env, 1);
......
480 480
	    env->immuregs[reg] = T1;
481 481
#ifdef DEBUG_MMU
482 482
            if (oldreg != env->immuregs[reg]) {
483
                printf("mmu change reg[%d]: 0x%08llx -> 0x%08llx\n", reg, oldreg, env->immuregs[reg]);
483
                printf("mmu change reg[%d]: 0x%08" PRIx64 " -> 0x%08" PRIx64 "\n", reg, oldreg, env->immuregs[reg]);
484 484
            }
485 485
	    dump_mmu(env);
486 486
#endif
......
549 549
	    env->dmmuregs[reg] = T1;
550 550
#ifdef DEBUG_MMU
551 551
            if (oldreg != env->dmmuregs[reg]) {
552
                printf("mmu change reg[%d]: 0x%08llx -> 0x%08llx\n", reg, oldreg, env->dmmuregs[reg]);
552
                printf("mmu change reg[%d]: 0x%08" PRIx64 " -> 0x%08" PRIx64 "\n", reg, oldreg, env->dmmuregs[reg]);
553 553
            }
554 554
	    dump_mmu(env);
555 555
#endif
......
769 769
#ifdef DEBUG_PCALL
770 770
    if (loglevel & CPU_LOG_INT) {
771 771
	static int count;
772
	fprintf(logfile, "%6d: v=%04x pc=%016llx npc=%016llx SP=%016llx\n",
772
	fprintf(logfile, "%6d: v=%04x pc=%016" PRIx64 " npc=%016" PRIx64 " SP=%016" PRIx64 "\n",
773 773
                count, intno,
774 774
                env->pc,
775 775
                env->npc, env->regwptr[6]);

Also available in: Unified diff