Lines Matching refs:rg
474 int rg; in dt_cg_typecast() local
484 rg = dt_regset_alloc(drp); in dt_cg_typecast()
490 dt_cg_setx(dlp, rg, n); in dt_cg_typecast()
492 instr = DIF_INSTR_FMT(DIF_OP_SLL, src->dn_reg, rg, dst->dn_reg); in dt_cg_typecast()
497 dst->dn_reg, rg, dst->dn_reg); in dt_cg_typecast()
501 dt_cg_setx(dlp, rg, s); in dt_cg_typecast()
503 dst->dn_reg, rg, dst->dn_reg); in dt_cg_typecast()
506 dt_cg_setx(dlp, rg, n - s); in dt_cg_typecast()
508 dst->dn_reg, rg, dst->dn_reg); in dt_cg_typecast()
515 dt_cg_setx(dlp, rg, n); in dt_cg_typecast()
517 instr = DIF_INSTR_FMT(DIF_OP_SLL, src->dn_reg, rg, dst->dn_reg); in dt_cg_typecast()
521 DIF_OP_SRA : DIF_OP_SRL, dst->dn_reg, rg, dst->dn_reg); in dt_cg_typecast()
525 dt_regset_free(drp, rg); in dt_cg_typecast()