cpu_mips_check_sign_extensions (CPUMIPSState *env, FILE *f,

                                fprintf_function cpu_fprintf,

                                int flags)

{

    int i;



    if (!SIGN_EXT_P(env->active_tc.PC))

        cpu_fprintf(f, "BROKEN: pc=0x" TARGET_FMT_lx "\n", env->active_tc.PC);

    if (!SIGN_EXT_P(env->active_tc.HI[0]))

        cpu_fprintf(f, "BROKEN: HI=0x" TARGET_FMT_lx "\n", env->active_tc.HI[0]);

    if (!SIGN_EXT_P(env->active_tc.LO[0]))

        cpu_fprintf(f, "BROKEN: LO=0x" TARGET_FMT_lx "\n", env->active_tc.LO[0]);

    if (!SIGN_EXT_P(env->btarget))

        cpu_fprintf(f, "BROKEN: btarget=0x" TARGET_FMT_lx "\n", env->btarget);



    for (i = 0; i < 32; i++) {

        if (!SIGN_EXT_P(env->active_tc.gpr[i]))

            cpu_fprintf(f, "BROKEN: %s=0x" TARGET_FMT_lx "\n", regnames[i], env->active_tc.gpr[i]);

    }



    if (!SIGN_EXT_P(env->CP0_EPC))

        cpu_fprintf(f, "BROKEN: EPC=0x" TARGET_FMT_lx "\n", env->CP0_EPC);

    if (!SIGN_EXT_P(env->lladdr))

        cpu_fprintf(f, "BROKEN: LLAddr=0x" TARGET_FMT_lx "\n", env->lladdr);

}

cpu_mips_check_sign_extensions (CPUMIPSState *env, FILE *f,

                                fprintf_function cpu_fprintf,

                                int flags)

{

    int i;



    if (!SIGN_EXT_P(env->active_tc.PC))

        cpu_fprintf(f, "BROKEN: pc=0x" TARGET_FMT_lx "\n", env->active_tc.PC);

    if (!SIGN_EXT_P(env->active_tc.HI[0]))

        cpu_fprintf(f, "BROKEN: HI=0x" TARGET_FMT_lx "\n", env->active_tc.HI[0]);

    if (!SIGN_EXT_P(env->active_tc.LO[0]))

        cpu_fprintf(f, "BROKEN: LO=0x" TARGET_FMT_lx "\n", env->active_tc.LO[0]);

    if (!SIGN_EXT_P(env->btarget))

        cpu_fprintf(f, "BROKEN: btarget=0x" TARGET_FMT_lx "\n", env->btarget);



    for (i = 0; i < 32; i++) {

        if (!SIGN_EXT_P(env->active_tc.gpr[i]))

            cpu_fprintf(f, "BROKEN: %s=0x" TARGET_FMT_lx "\n", regnames[i], env->active_tc.gpr[i]);

    }



    if (!SIGN_EXT_P(env->CP0_EPC))

        cpu_fprintf(f, "BROKEN: EPC=0x" TARGET_FMT_lx "\n", env->CP0_EPC);

    if (!SIGN_EXT_P(env->lladdr))

        cpu_fprintf(f, "BROKEN: LLAddr=0x" TARGET_FMT_lx "\n", env->lladdr);

}

cpu_mips_check_sign_extensions (CPUMIPSState *env, FILE *f,                                 fprintf_function cpu_fprintf,                                 int flags)     int i;     if (!SIGN_EXT_P(env->active_tc.PC))         cpu_fprintf(f, "BROKEN: pc=0x" TARGET_FMT_lx "\n", env->active_tc.PC);     if (!SIGN_EXT_P(env->active_tc.HI[0]))         cpu_fprintf(f, "BROKEN: HI=0x" TARGET_FMT_lx "\n", env->active_tc.HI[0]);     if (!SIGN_EXT_P(env->active_tc.LO[0]))         cpu_fprintf(f, "BROKEN: LO=0x" TARGET_FMT_lx "\n", env->active_tc.LO[0]);     if (!SIGN_EXT_P(env->btarget))         cpu_fprintf(f, "BROKEN: btarget=0x" TARGET_FMT_lx "\n", env->btarget);     for (i = 0; i < 32; i++) {         if (!SIGN_EXT_P(env->active_tc.gpr[i]))             cpu_fprintf(f, "BROKEN: %s=0x" TARGET_FMT_lx "\n", regnames[i], env->active_tc.gpr[i]);     if (!SIGN_EXT_P(env->CP0_EPC))         cpu_fprintf(f, "BROKEN: EPC=0x" TARGET_FMT_lx "\n", env->CP0_EPC);     if (!SIGN_EXT_P(env->lladdr))         cpu_fprintf(f, "BROKEN: LLAddr=0x" TARGET_FMT_lx "\n", env->lladdr);
FUNC_0 (CPUMIPSState *VAR_0, FILE *VAR_1,

                                fprintf_function VAR_2,

                                int VAR_3)

{

    int VAR_4;



    if (!SIGN_EXT_P(VAR_0->active_tc.PC))

        VAR_2(VAR_1, "BROKEN: pc=0x" TARGET_FMT_lx "\n", VAR_0->active_tc.PC);

    if (!SIGN_EXT_P(VAR_0->active_tc.HI[0]))

        VAR_2(VAR_1, "BROKEN: HI=0x" TARGET_FMT_lx "\n", VAR_0->active_tc.HI[0]);

    if (!SIGN_EXT_P(VAR_0->active_tc.LO[0]))

        VAR_2(VAR_1, "BROKEN: LO=0x" TARGET_FMT_lx "\n", VAR_0->active_tc.LO[0]);

    if (!SIGN_EXT_P(VAR_0->btarget))

        VAR_2(VAR_1, "BROKEN: btarget=0x" TARGET_FMT_lx "\n", VAR_0->btarget);



    for (VAR_4 = 0; VAR_4 < 32; VAR_4++) {

        if (!SIGN_EXT_P(VAR_0->active_tc.gpr[VAR_4]))

            VAR_2(VAR_1, "BROKEN: %s=0x" TARGET_FMT_lx "\n", regnames[VAR_4], VAR_0->active_tc.gpr[VAR_4]);

    }



    if (!SIGN_EXT_P(VAR_0->CP0_EPC))

        VAR_2(VAR_1, "BROKEN: EPC=0x" TARGET_FMT_lx "\n", VAR_0->CP0_EPC);

    if (!SIGN_EXT_P(VAR_0->lladdr))

        VAR_2(VAR_1, "BROKEN: LLAddr=0x" TARGET_FMT_lx "\n", VAR_0->lladdr);

}

FUNC_0 (CPUMIPSState *VAR_0, FILE *VAR_1,
fprintf_function VAR_2,
int VAR_3)
{ int VAR_4; if (!SIGN_EXT_P(VAR_0->active_tc.PC))
VAR_2(VAR_1, "BROKEN: pc=0x" TARGET_FMT_lx "\n", VAR_0->active_tc.PC); if (!SIGN_EXT_P(VAR_0->active_tc.HI[0]))
VAR_2(VAR_1, "BROKEN: HI=0x" TARGET_FMT_lx "\n", VAR_0->active_tc.HI[0]); if (!SIGN_EXT_P(VAR_0->active_tc.LO[0]))
VAR_2(VAR_1, "BROKEN: LO=0x" TARGET_FMT_lx "\n", VAR_0->active_tc.LO[0]); if (!SIGN_EXT_P(VAR_0->btarget))
VAR_2(VAR_1, "BROKEN: btarget=0x" TARGET_FMT_lx "\n", VAR_0->btarget); for (VAR_4 = 0; VAR_4 < 32; VAR_4++) { if (!SIGN_EXT_P(VAR_0->active_tc.gpr[VAR_4]))
VAR_2(VAR_1, "BROKEN: %s=0x" TARGET_FMT_lx "\n", regnames[VAR_4], VAR_0->active_tc.gpr[VAR_4]); } if (!SIGN_EXT_P(VAR_0->CP0_EPC))
VAR_2(VAR_1, "BROKEN: EPC=0x" TARGET_FMT_lx "\n", VAR_0->CP0_EPC); if (!SIGN_EXT_P(VAR_0->lladdr))
VAR_2(VAR_1, "BROKEN: LLAddr=0x" TARGET_FMT_lx "\n", VAR_0->lladdr); }