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()
618 tcg_gen_trunc_tl_i32(cpu_crf[crf], cpu_so); in gen_op_cmp()
619 tcg_gen_or_i32(cpu_crf[crf], cpu_crf[crf], t); in gen_op_cmp()
721 TCGv_i32 crf = cpu_crf[crfD(ctx->opcode)]; in gen_cmprb()
756 gen_helper_cmpeqb(cpu_crf[crfD(ctx->opcode)], cpu_gpr[rA(ctx->opcode)], in gen_cmpeqb()
769 tcg_gen_extu_i32_tl(t0, cpu_crf[bi >> 2]); in gen_isel()
3432 tcg_gen_trunc_tl_i32(cpu_crf[0], t0); in gen_conditional_store()
3443 tcg_gen_trunc_tl_i32(cpu_crf[0], cpu_so); in gen_conditional_store()
3546 gen_helper_stqcx_le_parallel(cpu_crf[0], cpu_env, in gen_stqcx_()
3549 gen_helper_stqcx_be_parallel(cpu_crf[0], cpu_env, in gen_stqcx_()
3586 tcg_gen_trunc_tl_i32(cpu_crf[0], cpu_so); in gen_stqcx_()
3587 tcg_gen_ori_i32(cpu_crf[0], cpu_crf[0], CRF_EQ); in gen_stqcx_()
3591 tcg_gen_trunc_tl_i32(cpu_crf[0], cpu_so); in gen_stqcx_()
3883 tcg_gen_andi_i32(temp, cpu_crf[bi >> 2], mask); in gen_bcond()
3886 tcg_gen_andi_i32(temp, cpu_crf[bi >> 2], mask); in gen_bcond()
3945 tcg_gen_shri_i32(t0, cpu_crf[crbA(ctx->opcode) >> 2], sh); \
3947 tcg_gen_shli_i32(t0, cpu_crf[crbA(ctx->opcode) >> 2], -sh); \
3949 tcg_gen_mov_i32(t0, cpu_crf[crbA(ctx->opcode) >> 2]); \
3953 tcg_gen_shri_i32(t1, cpu_crf[crbB(ctx->opcode) >> 2], sh); \
3955 tcg_gen_shli_i32(t1, cpu_crf[crbB(ctx->opcode) >> 2], -sh); \
3957 tcg_gen_mov_i32(t1, cpu_crf[crbB(ctx->opcode) >> 2]); \
3961 tcg_gen_andi_i32(t1, cpu_crf[crbD(ctx->opcode) >> 2], ~bitmask); \
3962 tcg_gen_or_i32(cpu_crf[crbD(ctx->opcode) >> 2], t0, t1); \
3987 tcg_gen_mov_i32(cpu_crf[crfD(ctx->opcode)], cpu_crf[crfS(ctx->opcode)]); in gen_mcrf()
4220 TCGv_i32 dst = cpu_crf[crfD(ctx->opcode)]; in gen_mcrxr()
4244 TCGv_i32 dst = cpu_crf[crfD(ctx->opcode)]; in gen_mcrxrx()
4269 tcg_gen_extu_i32_tl(cpu_gpr[rD(ctx->opcode)], cpu_crf[7 - crn]); in gen_mfcr()
4275 tcg_gen_mov_i32(t0, cpu_crf[0]); in gen_mfcr()
4277 tcg_gen_or_i32(t0, t0, cpu_crf[1]); in gen_mfcr()
4279 tcg_gen_or_i32(t0, t0, cpu_crf[2]); in gen_mfcr()
4281 tcg_gen_or_i32(t0, t0, cpu_crf[3]); in gen_mfcr()
4283 tcg_gen_or_i32(t0, t0, cpu_crf[4]); in gen_mfcr()
4285 tcg_gen_or_i32(t0, t0, cpu_crf[5]); in gen_mfcr()
4287 tcg_gen_or_i32(t0, t0, cpu_crf[6]); in gen_mfcr()
4289 tcg_gen_or_i32(t0, t0, cpu_crf[7]); in gen_mfcr()
4396 tcg_gen_andi_i32(cpu_crf[7 - crn], temp, 0xf); in gen_mtcrf()
4404 tcg_gen_shri_i32(cpu_crf[7 - crn], temp, crn * 4); in gen_mtcrf()
4405 tcg_gen_andi_i32(cpu_crf[7 - crn], cpu_crf[7 - crn], 0xf); in gen_mtcrf()
4561 tcg_gen_setcondi_i32(TCG_COND_GEU, t0, cpu_crf[crf], 4); in gen_setb()
4564 tcg_gen_movcond_i32(TCG_COND_GEU, t0, cpu_crf[crf], t8, tm1, t0); in gen_setb()
4968 tcg_gen_trunc_tl_i32(cpu_crf[0], cpu_so); in gen_slbfee_()
4970 tcg_gen_ori_i32(cpu_crf[0], cpu_crf[0], CRF_EQ); in gen_slbfee_()
6410 tcg_gen_trunc_tl_i32(cpu_crf[0], cpu_so); in gen_tlbsx_40x()
6412 tcg_gen_ori_i32(cpu_crf[0], cpu_crf[0], 0x02); in gen_tlbsx_40x()
6485 tcg_gen_trunc_tl_i32(cpu_crf[0], cpu_so); in gen_tlbsx_440()
6487 tcg_gen_ori_i32(cpu_crf[0], cpu_crf[0], 0x02); in gen_tlbsx_440()
6806 tcg_gen_movi_i32(cpu_crf[0], 0); \
6848 tcg_gen_movi_i32(cpu_crf[crfD(ctx->opcode)], 0x8); in GEN_CP_PASTE_NOOP()
6875 tcg_gen_movi_i32(cpu_crf[0], 0); \