Lines Matching refs:cpu_crf

63 static TCGv_i32 cpu_crf[8];  variable
90 cpu_crf[i] = tcg_global_mem_new_i32(cpu_env, in ppc_translate_init()
617 tcg_gen_trunc_tl_i32(cpu_crf[crf], cpu_so); in gen_op_cmp()
618 tcg_gen_or_i32(cpu_crf[crf], cpu_crf[crf], t); in gen_op_cmp()
720 TCGv_i32 crf = cpu_crf[crfD(ctx->opcode)]; in gen_cmprb()
755 gen_helper_cmpeqb(cpu_crf[crfD(ctx->opcode)], cpu_gpr[rA(ctx->opcode)], in gen_cmpeqb()
768 tcg_gen_extu_i32_tl(t0, cpu_crf[bi >> 2]); in gen_isel()
3413 tcg_gen_trunc_tl_i32(cpu_crf[0], t0); in gen_conditional_store()
3424 tcg_gen_trunc_tl_i32(cpu_crf[0], cpu_so); in gen_conditional_store()
3527 gen_helper_stqcx_le_parallel(cpu_crf[0], cpu_env, in gen_stqcx_()
3530 gen_helper_stqcx_be_parallel(cpu_crf[0], cpu_env, in gen_stqcx_()
3567 tcg_gen_trunc_tl_i32(cpu_crf[0], cpu_so); in gen_stqcx_()
3568 tcg_gen_ori_i32(cpu_crf[0], cpu_crf[0], CRF_EQ); in gen_stqcx_()
3572 tcg_gen_trunc_tl_i32(cpu_crf[0], cpu_so); in gen_stqcx_()
3864 tcg_gen_andi_i32(temp, cpu_crf[bi >> 2], mask); in gen_bcond()
3867 tcg_gen_andi_i32(temp, cpu_crf[bi >> 2], mask); in gen_bcond()
3926 tcg_gen_shri_i32(t0, cpu_crf[crbA(ctx->opcode) >> 2], sh); \
3928 tcg_gen_shli_i32(t0, cpu_crf[crbA(ctx->opcode) >> 2], -sh); \
3930 tcg_gen_mov_i32(t0, cpu_crf[crbA(ctx->opcode) >> 2]); \
3934 tcg_gen_shri_i32(t1, cpu_crf[crbB(ctx->opcode) >> 2], sh); \
3936 tcg_gen_shli_i32(t1, cpu_crf[crbB(ctx->opcode) >> 2], -sh); \
3938 tcg_gen_mov_i32(t1, cpu_crf[crbB(ctx->opcode) >> 2]); \
3942 tcg_gen_andi_i32(t1, cpu_crf[crbD(ctx->opcode) >> 2], ~bitmask); \
3943 tcg_gen_or_i32(cpu_crf[crbD(ctx->opcode) >> 2], t0, t1); \
3968 tcg_gen_mov_i32(cpu_crf[crfD(ctx->opcode)], cpu_crf[crfS(ctx->opcode)]); in gen_mcrf()
4165 TCGv_i32 dst = cpu_crf[crfD(ctx->opcode)]; in gen_mcrxr()
4189 TCGv_i32 dst = cpu_crf[crfD(ctx->opcode)]; in gen_mcrxrx()
4214 tcg_gen_extu_i32_tl(cpu_gpr[rD(ctx->opcode)], cpu_crf[7 - crn]); in gen_mfcr()
4220 tcg_gen_mov_i32(t0, cpu_crf[0]); in gen_mfcr()
4222 tcg_gen_or_i32(t0, t0, cpu_crf[1]); in gen_mfcr()
4224 tcg_gen_or_i32(t0, t0, cpu_crf[2]); in gen_mfcr()
4226 tcg_gen_or_i32(t0, t0, cpu_crf[3]); in gen_mfcr()
4228 tcg_gen_or_i32(t0, t0, cpu_crf[4]); in gen_mfcr()
4230 tcg_gen_or_i32(t0, t0, cpu_crf[5]); in gen_mfcr()
4232 tcg_gen_or_i32(t0, t0, cpu_crf[6]); in gen_mfcr()
4234 tcg_gen_or_i32(t0, t0, cpu_crf[7]); in gen_mfcr()
4341 tcg_gen_andi_i32(cpu_crf[7 - crn], temp, 0xf); in gen_mtcrf()
4349 tcg_gen_shri_i32(cpu_crf[7 - crn], temp, crn * 4); in gen_mtcrf()
4350 tcg_gen_andi_i32(cpu_crf[7 - crn], cpu_crf[7 - crn], 0xf); in gen_mtcrf()
4506 tcg_gen_setcondi_i32(TCG_COND_GEU, t0, cpu_crf[crf], 4); in gen_setb()
4509 tcg_gen_movcond_i32(TCG_COND_GEU, t0, cpu_crf[crf], t8, tm1, t0); in gen_setb()
4913 tcg_gen_trunc_tl_i32(cpu_crf[0], cpu_so); in gen_slbfee_()
4915 tcg_gen_ori_i32(cpu_crf[0], cpu_crf[0], CRF_EQ); in gen_slbfee_()
6351 tcg_gen_trunc_tl_i32(cpu_crf[0], cpu_so); in gen_tlbsx_40x()
6353 tcg_gen_ori_i32(cpu_crf[0], cpu_crf[0], 0x02); in gen_tlbsx_40x()
6426 tcg_gen_trunc_tl_i32(cpu_crf[0], cpu_so); in gen_tlbsx_440()
6428 tcg_gen_ori_i32(cpu_crf[0], cpu_crf[0], 0x02); in gen_tlbsx_440()
6725 tcg_gen_movi_i32(cpu_crf[0], 0); \
6767 tcg_gen_movi_i32(cpu_crf[crfD(ctx->opcode)], 0x8); in GEN_CP_PASTE_NOOP()
6794 tcg_gen_movi_i32(cpu_crf[0], 0); \