static void gen_window_check1(DisasContext *dc, unsigned r1)

{

    if (dc->tb->flags & XTENSA_TBFLAG_EXCM) {

        return;

    }

    if (option_enabled(dc, XTENSA_OPTION_WINDOWED_REGISTER) &&

            r1 / 4 > dc->used_window) {

        TCGv_i32 pc = tcg_const_i32(dc->pc);

        TCGv_i32 w = tcg_const_i32(r1 / 4);



        dc->used_window = r1 / 4;

        gen_advance_ccount(dc);

        gen_helper_window_check(cpu_env, pc, w);



        tcg_temp_free(w);

        tcg_temp_free(pc);

    }

}

static void gen_window_check1(DisasContext *dc, unsigned r1)

{

    if (dc->tb->flags & XTENSA_TBFLAG_EXCM) {

        return;

    }

    if (option_enabled(dc, XTENSA_OPTION_WINDOWED_REGISTER) &&

            r1 / 4 > dc->used_window) {

        TCGv_i32 pc = tcg_const_i32(dc->pc);

        TCGv_i32 w = tcg_const_i32(r1 / 4);



        dc->used_window = r1 / 4;

        gen_advance_ccount(dc);

        gen_helper_window_check(cpu_env, pc, w);



        tcg_temp_free(w);

        tcg_temp_free(pc);

    }

}

static void FUNC_0(DisasContext *VAR_0, unsigned VAR_1)

{

    if (VAR_0->tb->flags & XTENSA_TBFLAG_EXCM) {

        return;

    }

    if (option_enabled(VAR_0, XTENSA_OPTION_WINDOWED_REGISTER) &&

            VAR_1 / 4 > VAR_0->used_window) {

        TCGv_i32 pc = tcg_const_i32(VAR_0->pc);

        TCGv_i32 w = tcg_const_i32(VAR_1 / 4);



        VAR_0->used_window = VAR_1 / 4;

        gen_advance_ccount(VAR_0);

        gen_helper_window_check(cpu_env, pc, w);



        tcg_temp_free(w);

        tcg_temp_free(pc);

    }

}

static void FUNC_0(DisasContext *VAR_0, unsigned VAR_1)
{ if (VAR_0->tb->flags & XTENSA_TBFLAG_EXCM) { return; } if (option_enabled(VAR_0, XTENSA_OPTION_WINDOWED_REGISTER) &&
VAR_1 / 4 > VAR_0->used_window) { TCGv_i32 pc = tcg_const_i32(VAR_0->pc); TCGv_i32 w = tcg_const_i32(VAR_1 / 4); VAR_0->used_window = VAR_1 / 4; gen_advance_ccount(VAR_0); gen_helper_window_check(cpu_env, pc, w); tcg_temp_free(w); tcg_temp_free(pc); } }