static void gen_add(DisasContext *dc, TCGv dest, TCGv srca, TCGv srcb)

{

    TCGv t0 = tcg_const_tl(0);

    TCGv res = tcg_temp_new();

    TCGv sr_cy = tcg_temp_new();

    TCGv sr_ov = tcg_temp_new();



    tcg_gen_add2_tl(res, sr_cy, srca, t0, srcb, t0);

    tcg_gen_xor_tl(sr_ov, srca, srcb);

    tcg_gen_xor_tl(t0, res, srcb);

    tcg_gen_andc_tl(sr_ov, t0, sr_ov);

    tcg_temp_free(t0);



    tcg_gen_mov_tl(dest, res);

    tcg_temp_free(res);



    tcg_gen_shri_tl(sr_ov, sr_ov, TARGET_LONG_BITS - 1);

    tcg_gen_deposit_tl(cpu_sr, cpu_sr, sr_cy, ctz32(SR_CY), 1);

    tcg_gen_deposit_tl(cpu_sr, cpu_sr, sr_ov, ctz32(SR_OV), 1);



    gen_ove_cyov(dc, sr_ov, sr_cy);

    tcg_temp_free(sr_ov);

    tcg_temp_free(sr_cy);

}

static void gen_add(DisasContext *dc, TCGv dest, TCGv srca, TCGv srcb)

{

    TCGv t0 = tcg_const_tl(0);

    TCGv res = tcg_temp_new();

    TCGv sr_cy = tcg_temp_new();

    TCGv sr_ov = tcg_temp_new();



    tcg_gen_add2_tl(res, sr_cy, srca, t0, srcb, t0);

    tcg_gen_xor_tl(sr_ov, srca, srcb);

    tcg_gen_xor_tl(t0, res, srcb);

    tcg_gen_andc_tl(sr_ov, t0, sr_ov);

    tcg_temp_free(t0);



    tcg_gen_mov_tl(dest, res);

    tcg_temp_free(res);



    tcg_gen_shri_tl(sr_ov, sr_ov, TARGET_LONG_BITS - 1);

    tcg_gen_deposit_tl(cpu_sr, cpu_sr, sr_cy, ctz32(SR_CY), 1);

    tcg_gen_deposit_tl(cpu_sr, cpu_sr, sr_ov, ctz32(SR_OV), 1);



    gen_ove_cyov(dc, sr_ov, sr_cy);

    tcg_temp_free(sr_ov);

    tcg_temp_free(sr_cy);

}

    TCGv sr_cy = tcg_temp_new();     TCGv sr_ov = tcg_temp_new();     tcg_gen_add2_tl(res, sr_cy, srca, t0, srcb, t0);     tcg_gen_xor_tl(sr_ov, srca, srcb);     tcg_gen_andc_tl(sr_ov, t0, sr_ov);     tcg_gen_shri_tl(sr_ov, sr_ov, TARGET_LONG_BITS - 1);     tcg_gen_deposit_tl(cpu_sr, cpu_sr, sr_cy, ctz32(SR_CY), 1);     tcg_gen_deposit_tl(cpu_sr, cpu_sr, sr_ov, ctz32(SR_OV), 1);     gen_ove_cyov(dc, sr_ov, sr_cy);     tcg_temp_free(sr_ov);     tcg_temp_free(sr_cy);     TCGv sr_cy = tcg_temp_new();     TCGv sr_ov = tcg_temp_new();     tcg_gen_xor_tl(sr_ov, srca, srcb);     tcg_gen_andc_tl(sr_ov, t0, sr_ov);     tcg_gen_shri_tl(sr_ov, sr_ov, TARGET_LONG_BITS - 1);     tcg_gen_deposit_tl(cpu_sr, cpu_sr, sr_cy, ctz32(SR_CY), 1);     tcg_gen_deposit_tl(cpu_sr, cpu_sr, sr_ov, ctz32(SR_OV), 1);     gen_ove_cyov(dc, sr_ov, sr_cy);     tcg_temp_free(sr_ov);     tcg_temp_free(sr_cy);     TCGv sr_cy = tcg_temp_new();     TCGv sr_ov = tcg_temp_new();     tcg_gen_shri_tl(sr_ov, sr_ov, TARGET_LONG_BITS - 1);     tcg_gen_deposit_tl(cpu_sr, cpu_sr, sr_cy, ctz32(SR_CY), 1);     tcg_gen_deposit_tl(cpu_sr, cpu_sr, sr_ov, ctz32(SR_OV), 1);     gen_ove_cyov(dc, sr_ov, sr_cy);     tcg_temp_free(sr_ov);     tcg_temp_free(sr_cy);     TCGv sr_ov = tcg_temp_new();     tcg_gen_deposit_tl(cpu_sr, cpu_sr, sr_ov, ctz32(SR_OV), 1);     tcg_temp_free(sr_ov);     TCGv sr_cy = tcg_temp_new();     tcg_gen_deposit_tl(cpu_sr, cpu_sr, sr_cy, ctz32(SR_CY), 1);     tcg_temp_free(sr_cy);     TCGv sr_ov = tcg_temp_new();     tcg_gen_deposit_tl(cpu_sr, cpu_sr, sr_ov, ctz32(SR_OV), 1);     tcg_temp_free(sr_ov);     TCGv sr_cy = tcg_temp_new();     tcg_gen_deposit_tl(cpu_sr, cpu_sr, sr_cy, ctz32(SR_CY), 1);     tcg_temp_free(sr_cy);
static void FUNC_0(DisasContext *VAR_0, TCGv VAR_1, TCGv VAR_2, TCGv VAR_3)

{

    TCGv t0 = tcg_const_tl(0);

    TCGv res = tcg_temp_new();

    TCGv sr_cy = tcg_temp_new();

    TCGv sr_ov = tcg_temp_new();



    tcg_gen_add2_tl(res, sr_cy, VAR_2, t0, VAR_3, t0);

    tcg_gen_xor_tl(sr_ov, VAR_2, VAR_3);

    tcg_gen_xor_tl(t0, res, VAR_3);

    tcg_gen_andc_tl(sr_ov, t0, sr_ov);

    tcg_temp_free(t0);



    tcg_gen_mov_tl(VAR_1, res);

    tcg_temp_free(res);



    tcg_gen_shri_tl(sr_ov, sr_ov, TARGET_LONG_BITS - 1);

    tcg_gen_deposit_tl(cpu_sr, cpu_sr, sr_cy, ctz32(SR_CY), 1);

    tcg_gen_deposit_tl(cpu_sr, cpu_sr, sr_ov, ctz32(SR_OV), 1);



    gen_ove_cyov(VAR_0, sr_ov, sr_cy);

    tcg_temp_free(sr_ov);

    tcg_temp_free(sr_cy);

}

static void FUNC_0(DisasContext *VAR_0, TCGv VAR_1, TCGv VAR_2, TCGv VAR_3)
{ TCGv t0 = tcg_const_tl(0); TCGv res = tcg_temp_new(); TCGv sr_cy = tcg_temp_new(); TCGv sr_ov = tcg_temp_new(); tcg_gen_add2_tl(res, sr_cy, VAR_2, t0, VAR_3, t0); tcg_gen_xor_tl(sr_ov, VAR_2, VAR_3); tcg_gen_xor_tl(t0, res, VAR_3); tcg_gen_andc_tl(sr_ov, t0, sr_ov); tcg_temp_free(t0); tcg_gen_mov_tl(VAR_1, res); tcg_temp_free(res); tcg_gen_shri_tl(sr_ov, sr_ov, TARGET_LONG_BITS - 1); tcg_gen_deposit_tl(cpu_sr, cpu_sr, sr_cy, ctz32(SR_CY), 1); tcg_gen_deposit_tl(cpu_sr, cpu_sr, sr_ov, ctz32(SR_OV), 1); gen_ove_cyov(VAR_0, sr_ov, sr_cy); tcg_temp_free(sr_ov); tcg_temp_free(sr_cy); }