Lines Matching refs:cpu_sr_ov
80 static TCGv cpu_sr_ov; /* signed overflow */ variable
112 cpu_sr_ov = tcg_global_mem_new(tcg_env, in openrisc_translate_init()
208 tcg_gen_xor_tl(cpu_sr_ov, srca, srcb); in gen_add()
210 tcg_gen_andc_tl(cpu_sr_ov, t0, cpu_sr_ov); in gen_add()
224 tcg_gen_xor_tl(cpu_sr_ov, srca, srcb); in gen_addc()
226 tcg_gen_andc_tl(cpu_sr_ov, t0, cpu_sr_ov); in gen_addc()
239 tcg_gen_xor_tl(cpu_sr_ov, res, srcb); in gen_sub()
240 tcg_gen_and_tl(cpu_sr_ov, cpu_sr_ov, cpu_sr_cy); in gen_sub()
252 tcg_gen_muls2_tl(dest, cpu_sr_ov, srca, srcb); in gen_mul()
254 tcg_gen_negsetcond_tl(TCG_COND_NE, cpu_sr_ov, cpu_sr_ov, t0); in gen_mul()
271 tcg_gen_setcondi_tl(TCG_COND_EQ, cpu_sr_ov, srcb, 0); in gen_div()
274 tcg_gen_or_tl(t0, srcb, cpu_sr_ov); in gen_div()
277 tcg_gen_neg_tl(cpu_sr_ov, cpu_sr_ov); in gen_div()
303 tcg_gen_movi_tl(cpu_sr_ov, 0); in gen_muld()
310 tcg_gen_trunc_i64_tl(cpu_sr_ov, t1); in gen_muld()
353 tcg_gen_extrh_i64_i32(cpu_sr_ov, t1); in gen_mac()
355 tcg_gen_mov_i64(cpu_sr_ov, t1); in gen_mac()
394 tcg_gen_extrh_i64_i32(cpu_sr_ov, t1); in gen_msb()
396 tcg_gen_mov_i64(cpu_sr_ov, t1); in gen_msb()