Lines Matching refs:cpu_sr_cy
79 static TCGv cpu_sr_cy; /* carry (unsigned overflow) */ variable
110 cpu_sr_cy = tcg_global_mem_new(tcg_env, in openrisc_translate_init()
207 tcg_gen_add2_tl(res, cpu_sr_cy, srca, dc->zero, srcb, dc->zero); in gen_add()
222 tcg_gen_add2_tl(res, cpu_sr_cy, srca, dc->zero, cpu_sr_cy, dc->zero); in gen_addc()
223 tcg_gen_add2_tl(res, cpu_sr_cy, res, cpu_sr_cy, srcb, dc->zero); in gen_addc()
238 tcg_gen_xor_tl(cpu_sr_cy, srca, srcb); in gen_sub()
240 tcg_gen_and_tl(cpu_sr_ov, cpu_sr_ov, cpu_sr_cy); in gen_sub()
241 tcg_gen_setcond_tl(TCG_COND_LTU, cpu_sr_cy, srca, srcb); in gen_sub()
261 tcg_gen_muls2_tl(dest, cpu_sr_cy, srca, srcb); in gen_mulu()
262 tcg_gen_setcondi_tl(TCG_COND_NE, cpu_sr_cy, cpu_sr_cy, 0); in gen_mulu()
285 tcg_gen_setcondi_tl(TCG_COND_EQ, cpu_sr_cy, srcb, 0); in gen_divu()
288 tcg_gen_or_tl(t0, srcb, cpu_sr_cy); in gen_divu()
325 tcg_gen_movi_tl(cpu_sr_cy, 0); in gen_muldu()
331 tcg_gen_trunc_i64_tl(cpu_sr_cy, high); in gen_muldu()
373 tcg_gen_trunc_i64_tl(cpu_sr_cy, t1); in gen_macu()
414 tcg_gen_trunc_i64_tl(cpu_sr_cy, t2); in gen_msbu()