void cpu_dump_state(CPUXtensaState *env, FILE *f, fprintf_function cpu_fprintf,

        int flags)

{

    int i, j;



    cpu_fprintf(f, "PC=%08x\n\n", env->pc);



    for (i = j = 0; i < 256; ++i) {

        if (sregnames[i]) {

            cpu_fprintf(f, "%s=%08x%c", sregnames[i], env->sregs[i],

                    (j++ % 4) == 3 ? '\n' : ' ');

        }

    }



    cpu_fprintf(f, (j % 4) == 0 ? "\n" : "\n\n");



    for (i = j = 0; i < 256; ++i) {

        if (uregnames[i]) {

            cpu_fprintf(f, "%s=%08x%c", uregnames[i], env->uregs[i],

                    (j++ % 4) == 3 ? '\n' : ' ');

        }

    }



    cpu_fprintf(f, (j % 4) == 0 ? "\n" : "\n\n");



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

        cpu_fprintf(f, "A%02d=%08x%c", i, env->regs[i],

                (i % 4) == 3 ? '\n' : ' ');

    }



    cpu_fprintf(f, "\n");



    for (i = 0; i < env->config->nareg; ++i) {

        cpu_fprintf(f, "AR%02d=%08x%c", i, env->phys_regs[i],

                (i % 4) == 3 ? '\n' : ' ');

    }



    if (xtensa_option_enabled(env->config, XTENSA_OPTION_FP_COPROCESSOR)) {

        cpu_fprintf(f, "\n");



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

            cpu_fprintf(f, "F%02d=%08x (%+10.8e)%c", i,

                    float32_val(env->fregs[i]),

                    *(float *)&env->fregs[i], (i % 2) == 1 ? '\n' : ' ');

        }

    }

}

void cpu_dump_state(CPUXtensaState *env, FILE *f, fprintf_function cpu_fprintf,

        int flags)

{

    int i, j;



    cpu_fprintf(f, "PC=%08x\n\n", env->pc);



    for (i = j = 0; i < 256; ++i) {

        if (sregnames[i]) {

            cpu_fprintf(f, "%s=%08x%c", sregnames[i], env->sregs[i],

                    (j++ % 4) == 3 ? '\n' : ' ');

        }

    }



    cpu_fprintf(f, (j % 4) == 0 ? "\n" : "\n\n");



    for (i = j = 0; i < 256; ++i) {

        if (uregnames[i]) {

            cpu_fprintf(f, "%s=%08x%c", uregnames[i], env->uregs[i],

                    (j++ % 4) == 3 ? '\n' : ' ');

        }

    }



    cpu_fprintf(f, (j % 4) == 0 ? "\n" : "\n\n");



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

        cpu_fprintf(f, "A%02d=%08x%c", i, env->regs[i],

                (i % 4) == 3 ? '\n' : ' ');

    }



    cpu_fprintf(f, "\n");



    for (i = 0; i < env->config->nareg; ++i) {

        cpu_fprintf(f, "AR%02d=%08x%c", i, env->phys_regs[i],

                (i % 4) == 3 ? '\n' : ' ');

    }



    if (xtensa_option_enabled(env->config, XTENSA_OPTION_FP_COPROCESSOR)) {

        cpu_fprintf(f, "\n");



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

            cpu_fprintf(f, "F%02d=%08x (%+10.8e)%c", i,

                    float32_val(env->fregs[i]),

                    *(float *)&env->fregs[i], (i % 2) == 1 ? '\n' : ' ');

        }

    }

}

        if (sregnames[i]) {         if (uregnames[i]) {         if (sregnames[i]) {             cpu_fprintf(f, "%s=%08x%c", sregnames[i], env->sregs[i],         if (uregnames[i]) {             cpu_fprintf(f, "%s=%08x%c", uregnames[i], env->uregs[i],         cpu_fprintf(f, "A%02d=%08x%c", i, env->regs[i],
void FUNC_0(CPUXtensaState *VAR_0, FILE *VAR_1, fprintf_function VAR_2,

        int VAR_3)

{

    int VAR_4, VAR_5;



    VAR_2(VAR_1, "PC=%08x\n\n", VAR_0->pc);



    for (VAR_4 = VAR_5 = 0; VAR_4 < 256; ++VAR_4) {

        if (sregnames[VAR_4]) {

            VAR_2(VAR_1, "%s=%08x%c", sregnames[VAR_4], VAR_0->sregs[VAR_4],

                    (VAR_5++ % 4) == 3 ? '\n' : ' ');

        }

    }



    VAR_2(VAR_1, (VAR_5 % 4) == 0 ? "\n" : "\n\n");



    for (VAR_4 = VAR_5 = 0; VAR_4 < 256; ++VAR_4) {

        if (uregnames[VAR_4]) {

            VAR_2(VAR_1, "%s=%08x%c", uregnames[VAR_4], VAR_0->uregs[VAR_4],

                    (VAR_5++ % 4) == 3 ? '\n' : ' ');

        }

    }



    VAR_2(VAR_1, (VAR_5 % 4) == 0 ? "\n" : "\n\n");



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

        VAR_2(VAR_1, "A%02d=%08x%c", VAR_4, VAR_0->regs[VAR_4],

                (VAR_4 % 4) == 3 ? '\n' : ' ');

    }



    VAR_2(VAR_1, "\n");



    for (VAR_4 = 0; VAR_4 < VAR_0->config->nareg; ++VAR_4) {

        VAR_2(VAR_1, "AR%02d=%08x%c", VAR_4, VAR_0->phys_regs[VAR_4],

                (VAR_4 % 4) == 3 ? '\n' : ' ');

    }



    if (xtensa_option_enabled(VAR_0->config, XTENSA_OPTION_FP_COPROCESSOR)) {

        VAR_2(VAR_1, "\n");



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

            VAR_2(VAR_1, "F%02d=%08x (%+10.8e)%c", VAR_4,

                    float32_val(VAR_0->fregs[VAR_4]),

                    *(float *)&VAR_0->fregs[VAR_4], (VAR_4 % 2) == 1 ? '\n' : ' ');

        }

    }

}

void FUNC_0(CPUXtensaState *VAR_0, FILE *VAR_1, fprintf_function VAR_2,
int VAR_3)
{ int VAR_4, VAR_5; VAR_2(VAR_1, "PC=%08x\n\n", VAR_0->pc); for (VAR_4 = VAR_5 = 0; VAR_4 < 256; ++VAR_4) { if (sregnames[VAR_4]) { VAR_2(VAR_1, "%s=%08x%c", sregnames[VAR_4], VAR_0->sregs[VAR_4],
(VAR_5++ % 4) == 3 ? '\n' : ' '); } } VAR_2(VAR_1, (VAR_5 % 4) == 0 ? "\n" : "\n\n"); for (VAR_4 = VAR_5 = 0; VAR_4 < 256; ++VAR_4) { if (uregnames[VAR_4]) { VAR_2(VAR_1, "%s=%08x%c", uregnames[VAR_4], VAR_0->uregs[VAR_4],
(VAR_5++ % 4) == 3 ? '\n' : ' '); } } VAR_2(VAR_1, (VAR_5 % 4) == 0 ? "\n" : "\n\n"); for (VAR_4 = 0; VAR_4 < 16; ++VAR_4) { VAR_2(VAR_1, "A%02d=%08x%c", VAR_4, VAR_0->regs[VAR_4],
(VAR_4 % 4) == 3 ? '\n' : ' '); } VAR_2(VAR_1, "\n"); for (VAR_4 = 0; VAR_4 < VAR_0->config->nareg; ++VAR_4) { VAR_2(VAR_1, "AR%02d=%08x%c", VAR_4, VAR_0->phys_regs[VAR_4],
(VAR_4 % 4) == 3 ? '\n' : ' '); } if (xtensa_option_enabled(VAR_0->config, XTENSA_OPTION_FP_COPROCESSOR)) { VAR_2(VAR_1, "\n"); for (VAR_4 = 0; VAR_4 < 16; ++VAR_4) { VAR_2(VAR_1, "F%02d=%08x (%+10.8e)%c", VAR_4,
float32_val(VAR_0->fregs[VAR_4]),
*(float *)&VAR_0->fregs[VAR_4], (VAR_4 % 2) == 1 ? '\n' : ' '); } } }