CPUX86State *cpu_x86_init(void)

{

    CPUX86State *env;

    int i;

    static int inited;



    cpu_x86_tblocks_init();



    env = malloc(sizeof(CPUX86State));

    if (!env)

        return NULL;

    memset(env, 0, sizeof(CPUX86State));

    /* basic FPU init */

    for(i = 0;i < 8; i++)

        env->fptags[i] = 1;

    env->fpuc = 0x37f;

    /* flags setup */

    env->eflags = 0;



    /* init various static tables */

    if (!inited) {

        inited = 1;

        optimize_flags_init();

    }

    return env;

}

CPUX86State *cpu_x86_init(void)

{

    CPUX86State *env;

    int i;

    static int inited;



    cpu_x86_tblocks_init();



    env = malloc(sizeof(CPUX86State));

    if (!env)

        return NULL;

    memset(env, 0, sizeof(CPUX86State));

    

    for(i = 0;i < 8; i++)

        env->fptags[i] = 1;

    env->fpuc = 0x37f;

    

    env->eflags = 0;



    

    if (!inited) {

        inited = 1;

        optimize_flags_init();

    }

    return env;

}

CPUX86State *FUNC_0(void)

{

    CPUX86State *env;

    int VAR_0;

    static int VAR_1;



    cpu_x86_tblocks_init();



    env = malloc(sizeof(CPUX86State));

    if (!env)

        return NULL;

    memset(env, 0, sizeof(CPUX86State));

    

    for(VAR_0 = 0;VAR_0 < 8; VAR_0++)

        env->fptags[VAR_0] = 1;

    env->fpuc = 0x37f;

    

    env->eflags = 0;



    

    if (!VAR_1) {

        VAR_1 = 1;

        optimize_flags_init();

    }

    return env;

}

CPUX86State *FUNC_0(void)
{ CPUX86State *env; int VAR_0; static int VAR_1; cpu_x86_tblocks_init(); env = malloc(sizeof(CPUX86State)); if (!env)
return NULL; memset(env, 0, sizeof(CPUX86State)); for(VAR_0 = 0;VAR_0 < 8; VAR_0++) env->fptags[VAR_0] = 1; env->fpuc = 0x37f; env->eflags = 0; if (!VAR_1) { VAR_1 = 1; optimize_flags_init(); } return env; }