void sparc_cpu_list(FILE *f, int (*cpu_fprintf)(FILE *f, const char *fmt, ...))

{

    unsigned int i;



    for (i = 0; i < ARRAY_SIZE(sparc_defs); i++) {

        (*cpu_fprintf)(f, "Sparc %16s IU " TARGET_FMT_lx " FPU %08x MMU %08x NWINS %d ",

                       sparc_defs[i].name,

                       sparc_defs[i].iu_version,

                       sparc_defs[i].fpu_version,

                       sparc_defs[i].mmu_version,

                       sparc_defs[i].nwindows);

        print_features(f, cpu_fprintf, CPU_DEFAULT_FEATURES &

                       ~sparc_defs[i].features, "-");

        print_features(f, cpu_fprintf, ~CPU_DEFAULT_FEATURES &

                       sparc_defs[i].features, "+");

        (*cpu_fprintf)(f, "\n");

    }

    (*cpu_fprintf)(f, "Default CPU feature flags (use '-' to remove): ");

    print_features(f, cpu_fprintf, CPU_DEFAULT_FEATURES, NULL);

    (*cpu_fprintf)(f, "\n");

    (*cpu_fprintf)(f, "Available CPU feature flags (use '+' to add): ");

    print_features(f, cpu_fprintf, ~CPU_DEFAULT_FEATURES, NULL);

    (*cpu_fprintf)(f, "\n");

    (*cpu_fprintf)(f, "Numerical features (use '=' to set): iu_version "

                   "fpu_version mmu_version nwindows\n");

}

void sparc_cpu_list(FILE *f, int (*cpu_fprintf)(FILE *f, const char *fmt, ...))

{

    unsigned int i;



    for (i = 0; i < ARRAY_SIZE(sparc_defs); i++) {

        (*cpu_fprintf)(f, "Sparc %16s IU " TARGET_FMT_lx " FPU %08x MMU %08x NWINS %d ",

                       sparc_defs[i].name,

                       sparc_defs[i].iu_version,

                       sparc_defs[i].fpu_version,

                       sparc_defs[i].mmu_version,

                       sparc_defs[i].nwindows);

        print_features(f, cpu_fprintf, CPU_DEFAULT_FEATURES &

                       ~sparc_defs[i].features, "-");

        print_features(f, cpu_fprintf, ~CPU_DEFAULT_FEATURES &

                       sparc_defs[i].features, "+");

        (*cpu_fprintf)(f, "\n");

    }

    (*cpu_fprintf)(f, "Default CPU feature flags (use '-' to remove): ");

    print_features(f, cpu_fprintf, CPU_DEFAULT_FEATURES, NULL);

    (*cpu_fprintf)(f, "\n");

    (*cpu_fprintf)(f, "Available CPU feature flags (use '+' to add): ");

    print_features(f, cpu_fprintf, ~CPU_DEFAULT_FEATURES, NULL);

    (*cpu_fprintf)(f, "\n");

    (*cpu_fprintf)(f, "Numerical features (use '=' to set): iu_version "

                   "fpu_version mmu_version nwindows\n");

}

void FUNC_0(FILE *VAR_2, int (*VAR_1)(FILE *VAR_2, const char *VAR_2, ...))

{

    unsigned int VAR_3;



    for (VAR_3 = 0; VAR_3 < ARRAY_SIZE(sparc_defs); VAR_3++) {

        (*VAR_1)(VAR_2, "Sparc %16s IU " TARGET_FMT_lx " FPU %08x MMU %08x NWINS %d ",

                       sparc_defs[VAR_3].name,

                       sparc_defs[VAR_3].iu_version,

                       sparc_defs[VAR_3].fpu_version,

                       sparc_defs[VAR_3].mmu_version,

                       sparc_defs[VAR_3].nwindows);

        print_features(VAR_2, VAR_1, CPU_DEFAULT_FEATURES &

                       ~sparc_defs[VAR_3].features, "-");

        print_features(VAR_2, VAR_1, ~CPU_DEFAULT_FEATURES &

                       sparc_defs[VAR_3].features, "+");

        (*VAR_1)(VAR_2, "\n");

    }

    (*VAR_1)(VAR_2, "Default CPU feature flags (use '-' to remove): ");

    print_features(VAR_2, VAR_1, CPU_DEFAULT_FEATURES, NULL);

    (*VAR_1)(VAR_2, "\n");

    (*VAR_1)(VAR_2, "Available CPU feature flags (use '+' to add): ");

    print_features(VAR_2, VAR_1, ~CPU_DEFAULT_FEATURES, NULL);

    (*VAR_1)(VAR_2, "\n");

    (*VAR_1)(VAR_2, "Numerical features (use '=' to set): iu_version "

                   "fpu_version mmu_version nwindows\n");

}

void FUNC_0(FILE *VAR_2, int (*VAR_1)(FILE *VAR_2, const char *VAR_2, ...))
{ unsigned int VAR_3; for (VAR_3 = 0; VAR_3 < ARRAY_SIZE(sparc_defs); VAR_3++) { (*VAR_1)(VAR_2, "Sparc %16s IU " TARGET_FMT_lx " FPU %08x MMU %08x NWINS %d ",
sparc_defs[VAR_3].name,
sparc_defs[VAR_3].iu_version,
sparc_defs[VAR_3].fpu_version,
sparc_defs[VAR_3].mmu_version,
sparc_defs[VAR_3].nwindows); print_features(VAR_2, VAR_1, CPU_DEFAULT_FEATURES &
~sparc_defs[VAR_3].features, "-"); print_features(VAR_2, VAR_1, ~CPU_DEFAULT_FEATURES &
sparc_defs[VAR_3].features, "+"); (*VAR_1)(VAR_2, "\n"); } (*VAR_1)(VAR_2, "Default CPU feature flags (use '-' to remove): "); print_features(VAR_2, VAR_1, CPU_DEFAULT_FEATURES, NULL); (*VAR_1)(VAR_2, "\n"); (*VAR_1)(VAR_2, "Available CPU feature flags (use '+' to add): "); print_features(VAR_2, VAR_1, ~CPU_DEFAULT_FEATURES, NULL); (*VAR_1)(VAR_2, "\n"); (*VAR_1)(VAR_2, "Numerical features (use '=' to set): iu_version "
"fpu_version mmu_version nwindows\n"); }