Revision 5a834bb4 target-sparc/helper.c

b/target-sparc/helper.c
1490 1490
    }
1491 1491
#ifdef TARGET_SPARC64
1492 1492
    cpu_fprintf(f, "pstate: %08x ccr: %02x (icc: ", env->pstate,
1493
                GET_CCR(env));
1494
    cpu_print_cc(f, cpu_fprintf, GET_CCR(env) << PSR_CARRY_SHIFT);
1493
                cpu_get_ccr(env));
1494
    cpu_print_cc(f, cpu_fprintf, cpu_get_ccr(env) << PSR_CARRY_SHIFT);
1495 1495
    cpu_fprintf(f, " xcc: ");
1496
    cpu_print_cc(f, cpu_fprintf, GET_CCR(env) << (PSR_CARRY_SHIFT - 4));
1496
    cpu_print_cc(f, cpu_fprintf, cpu_get_ccr(env) << (PSR_CARRY_SHIFT - 4));
1497 1497
    cpu_fprintf(f, ") asi: %02x tl: %d pil: %x\n", env->asi, env->tl,
1498 1498
                env->psrpil);
1499 1499
    cpu_fprintf(f, "cansave: %d canrestore: %d otherwin: %d wstate: %d "
......
1503 1503
    cpu_fprintf(f, "fsr: " TARGET_FMT_lx " y: " TARGET_FMT_lx " fprs: "
1504 1504
                TARGET_FMT_lx "\n", env->fsr, env->y, env->fprs);
1505 1505
#else
1506
    cpu_fprintf(f, "psr: %08x (icc: ", GET_PSR(env));
1507
    cpu_print_cc(f, cpu_fprintf, GET_PSR(env));
1506
    cpu_fprintf(f, "psr: %08x (icc: ", cpu_get_psr(env));
1507
    cpu_print_cc(f, cpu_fprintf, cpu_get_psr(env));
1508 1508
    cpu_fprintf(f, " SPE: %c%c%c) wim: %08x\n", env->psrs? 'S' : '-',
1509 1509
                env->psrps? 'P' : '-', env->psret? 'E' : '-',
1510 1510
                env->wim);

Also available in: Unified diff